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

Function stopPhaseTimer

code/dependency-injection/public/app.js:7819–7831  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7817}
7818
7819function stopPhaseTimer() {
7820 if (enableUserTimingAPI) {
7821 if (!supportsUserTiming) {
7822 return;
7823 }
7824 if (currentPhase !== null && currentPhaseFiber !== null) {
7825 var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
7826 endFiberMark(currentPhaseFiber, currentPhase, warning$$1);
7827 }
7828 currentPhase = null;
7829 currentPhaseFiber = null;
7830 }
7831}
7832
7833function startWorkLoopTimer(nextUnitOfWork) {
7834 if (enableUserTimingAPI) {

Callers 8

callComponentWillMountFunction · 0.70
resumeMountClassInstanceFunction · 0.70
updateClassInstanceFunction · 0.70
commitLifeCyclesFunction · 0.70
processChildContextFunction · 0.70

Calls 1

endFiberMarkFunction · 0.70

Tested by

no test coverage detected