MCPcopy Create free account
hub / github.com/cloudflare/computer / constructor

Method constructor

packages/computer/src/stub.ts:93–97  ·  view source on GitHub ↗
(ws: Workspace)

Source from the content-addressed store, hash-verified

91 readonly #ws: Workspace;
92
93 constructor(ws: Workspace) {
94 super();
95 this.#ws = ws;
96 trackStub(this);
97 }
98
99 [Symbol.dispose](): void {
100 untrackStub(this);

Callers

nothing calls this directly

Calls 1

trackStubFunction · 0.90

Tested by

no test coverage detected