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

Function cancelWorkTimer

code/dependency-injection/public/app.js:7762–7772  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

7760}
7761
7762function cancelWorkTimer(fiber) {
7763 if (enableUserTimingAPI) {
7764 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
7765 return;
7766 }
7767 // Remember we shouldn't complete measurement for this fiber.
7768 // Otherwise flamechart will be deep even for small updates.
7769 fiber._debugIsCurrentlyTiming = false;
7770 clearFiberMark(fiber, null);
7771 }
7772}
7773
7774function stopWorkTimer(fiber) {
7775 if (enableUserTimingAPI) {

Callers 2

bailoutOnLowPriorityFunction · 0.70

Calls 2

shouldIgnoreFiberFunction · 0.70
clearFiberMarkFunction · 0.70

Tested by

no test coverage detected