MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / stopRequestCallbackTimer

Function stopRequestCallbackTimer

code/event-handlers/public/app.js:6975–6983  ·  view source on GitHub ↗
(didExpire)

Source from the content-addressed store, hash-verified

6973}
6974
6975function stopRequestCallbackTimer(didExpire) {
6976 if (enableUserTimingAPI) {
6977 if (supportsUserTiming) {
6978 isWaitingForCallback = false;
6979 var warning$$1 = didExpire ? 'React was blocked by main thread' : null;
6980 endMark('(Waiting for async callback...)', '(Waiting for async callback...)', warning$$1);
6981 }
6982 }
6983}
6984
6985function startWorkTimer(fiber) {
6986 if (enableUserTimingAPI) {

Callers 1

performWorkFunction · 0.70

Calls 1

endMarkFunction · 0.70

Tested by

no test coverage detected