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

Function close

packages/react-server/src/ReactServerStreamConfigFB.js:45–47  ·  view source on GitHub ↗
(destination: Destination)

Source from the content-addressed store, hash-verified

43export function completeWriting(destination: Destination) {}
44
45export function close(destination: Destination) {
46 destination.done = true;
47}
48
49export function stringToChunk(content: string): Chunk {
50 return content;

Callers 2

flushCompletedQueuesFunction · 0.90
flushCompletedChunksFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected