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

Function pauseTimers

code/redux/public/app.js:7842–7852  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7840};
7841
7842var pauseTimers = function () {
7843 // Stops all currently active measurements so that they can be resumed
7844 // if we continue in a later deferred loop from the same unit of work.
7845 var fiber = currentFiber;
7846 while (fiber) {
7847 if (fiber._debugIsCurrentlyTiming) {
7848 endFiberMark(fiber, null, null);
7849 }
7850 fiber = fiber['return'];
7851 }
7852};
7853
7854var resumeTimersRecursively = function (fiber) {
7855 if (fiber['return'] !== null) {

Callers 1

stopWorkLoopTimerFunction · 0.70

Calls 1

endFiberMarkFunction · 0.70

Tested by

no test coverage detected