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

Function cancelWorkTimer

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

Source from the content-addressed store, hash-verified

10525 }
10526 }
10527 function cancelWorkTimer(fiber) {
10528 {
10529 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
10530 return;
10531 } // Remember we shouldn't complete measurement for this fiber.
10532 // Otherwise flamechart will be deep even for small updates.
10533
10534
10535 fiber._debugIsCurrentlyTiming = false;
10536 clearFiberMark(fiber, null);
10537 }
10538 }
10539 function stopWorkTimer(fiber) {
10540 {
10541 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {

Callers 2

mountLazyComponentFunction · 0.85

Calls 2

shouldIgnoreFiberFunction · 0.85
clearFiberMarkFunction · 0.85

Tested by

no test coverage detected