MCPcopy Create free account
hub / github.com/microsoft/SandDance / stopWorkTimer

Function stopWorkTimer

docs/external/js/react-dom.development.js:10539–10555  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

10537 }
10538 }
10539 function stopWorkTimer(fiber) {
10540 {
10541 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
10542 return;
10543 } // If we pause, its parent is the fiber to unwind from.
10544
10545
10546 currentFiber = fiber.return;
10547
10548 if (!fiber._debugIsCurrentlyTiming) {
10549 return;
10550 }
10551
10552 fiber._debugIsCurrentlyTiming = false;
10553 endFiberMark(fiber, null, null);
10554 }
10555 }
10556 function stopFailedWorkTimer(fiber) {
10557 {
10558 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {

Callers 1

completeUnitOfWorkFunction · 0.85

Calls 2

shouldIgnoreFiberFunction · 0.85
endFiberMarkFunction · 0.85

Tested by

no test coverage detected