MCPcopy
hub / github.com/audreyt/ethercalc / fetch

Function fetch

packages/worker/test/room.node.test.ts:1253–1256  ·  view source on GitHub ↗
(_path: string, init?: RequestInit)

Source from the content-addressed store, hash-verified

1251 const name = (id as unknown as { __name: string }).__name;
1252 return {
1253 async fetch(_path: string, init?: RequestInit): Promise<Response> {
1254 siblingCalls.push({ idFromName: name, init });
1255 return new Response('OK', { status: responseStatus });
1256 },
1257 } as unknown as DurableObjectStub;
1258 },
1259 } as unknown as DurableObjectNamespace,

Callers 7

openLegacyExportDialogFunction · 0.50
pingHealthFunction · 0.50
defaultFetcherFunction · 0.50
httpReprosFunction · 0.50
runHttpTestsFunction · 0.50

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected