MCPcopy Create free account
hub / github.com/reactjs/react-rails / pauseTimers

Function pauseTimers

lib/assets/react-source/development/react.js:14036–14048  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14034 };
14035
14036 var pauseTimers = function () {
14037 // Stops all currently active measurements so that they can be resumed
14038 // if we continue in a later deferred loop from the same unit of work.
14039 var fiber = currentFiber;
14040
14041 while (fiber) {
14042 if (fiber._debugIsCurrentlyTiming) {
14043 endFiberMark(fiber, null, null);
14044 }
14045
14046 fiber = fiber.return;
14047 }
14048 };
14049
14050 var resumeTimersRecursively = function (fiber) {
14051 if (fiber.return !== null) {

Callers 1

stopWorkLoopTimerFunction · 0.85

Calls 1

endFiberMarkFunction · 0.85

Tested by

no test coverage detected