MCPcopy
hub / github.com/remix-run/react-router / start

Function start

packages/react-router-node/__tests__/stream-test.ts:59–64  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

57
58 let readable = new ReadableStream<Uint8Array>({
59 start(controller) {
60 for (let i = 0; i < numChunks; i++) {
61 controller.enqueue(new Uint8Array(chunkSize));
62 }
63 controller.close();
64 },
65 });
66
67 await writeReadableStreamToWritable(readable, writable);

Callers

nothing calls this directly

Calls 2

enqueueMethod · 0.80
closeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…