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

Function pauseTimers

code/event-handlers/public/app.js:6921–6931  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6919};
6920
6921var pauseTimers = function () {
6922 // Stops all currently active measurements so that they can be resumed
6923 // if we continue in a later deferred loop from the same unit of work.
6924 var fiber = currentFiber;
6925 while (fiber) {
6926 if (fiber._debugIsCurrentlyTiming) {
6927 endFiberMark(fiber, null, null);
6928 }
6929 fiber = fiber['return'];
6930 }
6931};
6932
6933var resumeTimersRecursively = function (fiber) {
6934 if (fiber['return'] !== null) {

Callers 1

stopWorkLoopTimerFunction · 0.70

Calls 1

endFiberMarkFunction · 0.70

Tested by

no test coverage detected