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

Function resumeRequestImpl

packages/react-dom/src/server/ReactDOMFizzServerNode.js:307–326  ·  view source on GitHub ↗
(
  children: ReactNodeList,
  postponedState: PostponedState,
  options: void | ResumeOptions,
)

Source from the content-addressed store, hash-verified

305}
306
307function resumeRequestImpl(
308 children: ReactNodeList,
309 postponedState: PostponedState,
310 options: void | ResumeOptions,
311) {
312 return resumeRequest(
313 children,
314 postponedState,
315 resumeRenderState(
316 postponedState.resumableState,
317 options ? options.nonce : undefined,
318 ),
319 options ? options.onError : undefined,
320 options ? options.onAllReady : undefined,
321 options ? options.onShellReady : undefined,
322 options ? options.onShellError : undefined,
323 undefined,
324 options ? options.onPostpone : undefined,
325 );
326}
327
328function resumeToPipeableStream(
329 children: ReactNodeList,

Callers 1

resumeToPipeableStreamFunction · 0.85

Calls 2

resumeRequestFunction · 0.90
resumeRenderStateFunction · 0.90

Tested by

no test coverage detected