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

Method constructor

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

Source from the content-addressed store, hash-verified

375 readonly #ws: Workspace;
376
377 constructor(ws: Workspace) {
378 super();
379 this.#ws = ws;
380 trackStub(this);
381 }
382
383 [Symbol.dispose](): void {
384 untrackStub(this);

Callers

nothing calls this directly

Calls 1

trackStubFunction · 0.90

Tested by

no test coverage detected