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

Function clearPendingPhaseMeasurement

code/communication/public/app.js:7617–7624  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7615};
7616
7617var clearPendingPhaseMeasurement = function () {
7618 if (currentPhase !== null && currentPhaseFiber !== null) {
7619 clearFiberMark(currentPhaseFiber, currentPhase);
7620 }
7621 currentPhaseFiber = null;
7622 currentPhase = null;
7623 hasScheduledUpdateInCurrentPhase = false;
7624};
7625
7626var pauseTimers = function () {
7627 // Stops all currently active measurements so that they can be resumed

Callers 1

startPhaseTimerFunction · 0.70

Calls 1

clearFiberMarkFunction · 0.70

Tested by

no test coverage detected