MCPcopy
hub / github.com/facebook/react / writeChunk

Function writeChunk

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

Source from the content-addressed store, hash-verified

26export function beginWriting(destination: Destination) {}
27
28export function writeChunk(
29 destination: Destination,
30 chunk: Chunk | PrecomputedChunk | BinaryChunk,
31): void {
32 destination.buffer += chunk;
33}
34
35export function writeChunkAndReturn(
36 destination: Destination,

Calls

no outgoing calls

Tested by

no test coverage detected