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

Function pauseTimers

code/new-context-api/public/app.js:6952–6962  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6950};
6951
6952var pauseTimers = function () {
6953 // Stops all currently active measurements so that they can be resumed
6954 // if we continue in a later deferred loop from the same unit of work.
6955 var fiber = currentFiber;
6956 while (fiber) {
6957 if (fiber._debugIsCurrentlyTiming) {
6958 endFiberMark(fiber, null, null);
6959 }
6960 fiber = fiber['return'];
6961 }
6962};
6963
6964var resumeTimersRecursively = function (fiber) {
6965 if (fiber['return'] !== null) {

Callers 1

stopWorkLoopTimerFunction · 0.70

Calls 1

endFiberMarkFunction · 0.70

Tested by

no test coverage detected