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

Function pauseTimers

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

Source from the content-addressed store, hash-verified

7624};
7625
7626var pauseTimers = function () {
7627 // Stops all currently active measurements so that they can be resumed
7628 // if we continue in a later deferred loop from the same unit of work.
7629 var fiber = currentFiber;
7630 while (fiber) {
7631 if (fiber._debugIsCurrentlyTiming) {
7632 endFiberMark(fiber, null, null);
7633 }
7634 fiber = fiber['return'];
7635 }
7636};
7637
7638var resumeTimersRecursively = function (fiber) {
7639 if (fiber['return'] !== null) {

Callers 1

stopWorkLoopTimerFunction · 0.70

Calls 1

endFiberMarkFunction · 0.70

Tested by

no test coverage detected