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

Function handle

packages/computer/src/workspace.test.ts:655–665  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

653 connect: () => new Promise((resolve) => resolvers.push(resolve)),
654 };
655 const handle = () => ({
656 exec: async () => {
657 throw new Error("not used");
658 },
659 getExec: async () => {
660 throw new Error("not used");
661 },
662 killExec: async () => undefined,
663 disposeExec: async () => undefined,
664 close: async () => undefined,
665 });
666 const ws = new Workspace({ storage: makeStorage(), backends: [backend] });
667 const stale = ws.ready("module");
668 await Promise.resolve();

Callers 1

workspace.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected