MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / cancelWorkTimer

Function cancelWorkTimer

code/composition/public/app.js:7807–7817  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

7805}
7806
7807function cancelWorkTimer(fiber) {
7808 if (enableUserTimingAPI) {
7809 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
7810 return;
7811 }
7812 // Remember we shouldn't complete measurement for this fiber.
7813 // Otherwise flamechart will be deep even for small updates.
7814 fiber._debugIsCurrentlyTiming = false;
7815 clearFiberMark(fiber, null);
7816 }
7817}
7818
7819function stopWorkTimer(fiber) {
7820 if (enableUserTimingAPI) {

Callers 2

bailoutOnLowPriorityFunction · 0.70

Calls 2

shouldIgnoreFiberFunction · 0.70
clearFiberMarkFunction · 0.70

Tested by

no test coverage detected