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

Method fetchObjects

packages/rpc/src/interface.ts:82–82  ·  view source on GitHub ↗
(hashes: Uint8Array[])

Source from the content-addressed store, hash-verified

80 // set of chunk hashes in request order. Throws EUNKNOWN_HASH if
81 // any hash is unknown — callers must dedupe and probe first.
82 fetchObjects(hashes: Uint8Array[]): ReadableStream<{ hash: Uint8Array; bytes: Uint8Array }>;
83
84 // DO → container direction of object transfer. The DO streams the
85 // bytes the container reported missing (via hasObjects) during a

Callers 2

pullOnceImplFunction · 0.65
wire.test.tsFile · 0.65

Implementers 1

SyncRPCServerpackages/rpc/src/server.ts

Calls

no outgoing calls

Tested by

no test coverage detected