MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / pauseTimers

Function pauseTimers

code/composition/public/app.js:7729–7739  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7727};
7728
7729var pauseTimers = function () {
7730 // Stops all currently active measurements so that they can be resumed
7731 // if we continue in a later deferred loop from the same unit of work.
7732 var fiber = currentFiber;
7733 while (fiber) {
7734 if (fiber._debugIsCurrentlyTiming) {
7735 endFiberMark(fiber, null, null);
7736 }
7737 fiber = fiber['return'];
7738 }
7739};
7740
7741var resumeTimersRecursively = function (fiber) {
7742 if (fiber['return'] !== null) {

Callers 1

stopWorkLoopTimerFunction · 0.70

Calls 1

endFiberMarkFunction · 0.70

Tested by

no test coverage detected