MCPcopy Create free account
hub / github.com/apache/maka / pull

Function pull

scripts/release-cli-publication.test.mjs:216–220  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

214 return new Response(
215 new ReadableStream({
216 pull(controller) {
217 pulls += 1;
218 if (pulls > 30) return controller.close();
219 controller.enqueue(new Uint8Array(1024 * 1024));
220 },
221 }),
222 );
223 };

Callers

nothing calls this directly

Calls 2

closeMethod · 0.65
enqueueMethod · 0.45

Tested by

no test coverage detected