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

Function stopPhaseTimer

code/one-direction-data-flow/public/app.js:7599–7611  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7597}
7598
7599function stopPhaseTimer() {
7600 if (enableUserTimingAPI) {
7601 if (!supportsUserTiming) {
7602 return;
7603 }
7604 if (currentPhase !== null && currentPhaseFiber !== null) {
7605 var warning$$1 = hasScheduledUpdateInCurrentPhase ? 'Scheduled a cascading update' : null;
7606 endFiberMark(currentPhaseFiber, currentPhase, warning$$1);
7607 }
7608 currentPhase = null;
7609 currentPhaseFiber = null;
7610 }
7611}
7612
7613function startWorkLoopTimer(nextUnitOfWork) {
7614 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