MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / start

Function start

apps/cloud/src/edge/marketing.test.ts:425–428  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

423 let source: ReadableStreamDefaultController<Uint8Array> | undefined;
424 const body = new ReadableStream<Uint8Array>({
425 start(controller) {
426 source = controller;
427 controller.enqueue(encoder.encode("first-pack-chunk"));
428 },
429 });
430 // v2 reads the first chunk while the client is still sending: a buffering
431 // edge would wait for the end of the body and never reach v2.

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected