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

Function delay

packages/react-server/src/__tests__/ReactFlightAsyncDebugInfo-test.js:82–86  ·  view source on GitHub ↗
(timeout)

Source from the content-addressed store, hash-verified

80 }
81
82 function delay(timeout) {
83 return new Promise(resolve => {
84 setTimeout(resolve, timeout);
85 });
86 }
87
88 function fetchThirdParty(Component) {
89 const stream = ReactServerDOMServer.renderToPipeableStream(

Callers 5

getDataFunction · 0.70
delayTwiceFunction · 0.70
delayTriceFunction · 0.70
internal_APIFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected