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

Function abortStream

packages/react-server-dom-fb/src/ReactDOMServerFB.js:84–86  ·  view source on GitHub ↗
(stream: Stream, reason: mixed)

Source from the content-addressed store, hash-verified

82}
83
84function abortStream(stream: Stream, reason: mixed): void {
85 abort(stream.request, reason);
86}
87
88function renderNextChunk(stream: Stream): string {
89 const {request, destination} = stream;

Callers

nothing calls this directly

Calls 1

abortFunction · 0.90

Tested by

no test coverage detected