MCPcopy Index your code
hub / github.com/react/react / writeChunkAndReturn

Function writeChunkAndReturn

packages/react-server/src/ReactServerStreamConfigFB.js:35–41  ·  view source on GitHub ↗
(
  destination: Destination,
  chunk: Chunk | PrecomputedChunk | BinaryChunk,
)

Source from the content-addressed store, hash-verified

33}
34
35export function writeChunkAndReturn(
36 destination: Destination,
37 chunk: Chunk | PrecomputedChunk | BinaryChunk,
38): boolean {
39 destination.buffer += chunk;
40 return true;
41}
42
43export function completeWriting(destination: Destination) {}
44

Calls

no outgoing calls

Tested by

no test coverage detected