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

Function pauseTimers

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

Source from the content-addressed store, hash-verified

7682};
7683
7684var pauseTimers = function () {
7685 // Stops all currently active measurements so that they can be resumed
7686 // if we continue in a later deferred loop from the same unit of work.
7687 var fiber = currentFiber;
7688 while (fiber) {
7689 if (fiber._debugIsCurrentlyTiming) {
7690 endFiberMark(fiber, null, null);
7691 }
7692 fiber = fiber['return'];
7693 }
7694};
7695
7696var resumeTimersRecursively = function (fiber) {
7697 if (fiber['return'] !== null) {

Callers 1

stopWorkLoopTimerFunction · 0.70

Calls 1

endFiberMarkFunction · 0.70

Tested by

no test coverage detected