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

Function cancelWorkTimer

code/one-direction-data-flow/public/app.js:7542–7552  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

7540}
7541
7542function cancelWorkTimer(fiber) {
7543 if (enableUserTimingAPI) {
7544 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
7545 return;
7546 }
7547 // Remember we shouldn't complete measurement for this fiber.
7548 // Otherwise flamechart will be deep even for small updates.
7549 fiber._debugIsCurrentlyTiming = false;
7550 clearFiberMark(fiber, null);
7551 }
7552}
7553
7554function stopWorkTimer(fiber) {
7555 if (enableUserTimingAPI) {

Callers 2

bailoutOnLowPriorityFunction · 0.70

Calls 2

shouldIgnoreFiberFunction · 0.70
clearFiberMarkFunction · 0.70

Tested by

no test coverage detected