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

Function pauseTimers

code/third-party/public/app.js:6824–6834  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6822};
6823
6824var pauseTimers = function () {
6825 // Stops all currently active measurements so that they can be resumed
6826 // if we continue in a later deferred loop from the same unit of work.
6827 var fiber = currentFiber;
6828 while (fiber) {
6829 if (fiber._debugIsCurrentlyTiming) {
6830 endFiberMark(fiber, null, null);
6831 }
6832 fiber = fiber['return'];
6833 }
6834};
6835
6836var resumeTimersRecursively = function (fiber) {
6837 if (fiber['return'] !== null) {

Callers 1

stopWorkLoopTimerFunction · 0.70

Calls 1

endFiberMarkFunction · 0.70

Tested by

no test coverage detected