MCPcopy
hub / github.com/react/react / start

Function start

packages/react-server-dom-webpack/src/__tests__/ReactFlightDOM-test.js:146–153  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

144 const writable = new Stream.PassThrough();
145 const readable = new ReadableStream({
146 start(controller) {
147 writable.on('data', chunk => {
148 controller.enqueue(chunk);
149 });
150 writable.on('end', () => {
151 controller.close();
152 });
153 },
154 });
155 return {
156 readable,

Callers

nothing calls this directly

Calls 2

onMethod · 0.80
closeMethod · 0.65

Tested by

no test coverage detected