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

Function pushObjects

packages/computer/src/observe-integration.test.ts:65–74  ·  view source on GitHub ↗
(objects)

Source from the content-addressed store, hash-verified

63 return { currentRev: 0, pushRev: 0, fetchCursor: { rev: 0, path: null } };
64 },
65 async pushObjects(objects) {
66 const reader = objects.getReader();
67 try {
68 while (!(await reader.read()).done) {
69 // discard
70 }
71 } finally {
72 reader.releaseLock();
73 }
74 },
75 };
76}
77

Callers

nothing calls this directly

Calls 2

getReaderMethod · 0.65
readMethod · 0.65

Tested by

no test coverage detected