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

Function getExec

packages/computer/src/client.test.ts:62–65  ·  view source on GitHub ↗
(id: string, options?: Record<string, unknown>)

Source from the content-addressed store, hash-verified

60 );
61 },
62 getExec(id: string, options?: Record<string, unknown>) {
63 calls.push({ command: `get:${id}`, options });
64 return Promise.resolve(makeHandle(id, options?.backend as string | undefined));
65 },
66 killExec(id: string, options?: Record<string, unknown>) {
67 calls.push({ command: `kill:${id}`, options });
68 return Promise.resolve();

Callers

nothing calls this directly

Calls 3

makeHandleFunction · 0.85
resolveMethod · 0.80
pushMethod · 0.65

Tested by

no test coverage detected