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

Function wakeRejections

packages/react-devtools-timeline/src/timelineCache.js:76–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 rejectCallbacks.clear();
75 };
76 const wakeRejections = () => {
77 // This assumes they won't throw.
78 rejectCallbacks.forEach(callback => callback((thenable: any).reason));
79 rejectCallbacks.clear();
80 callbacks.clear();
81 };
82
83 record = thenable;
84

Callers 1

importFileFunction · 0.70

Calls 3

forEachMethod · 0.65
callbackFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected