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

Function stopWorkTimer

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

Source from the content-addressed store, hash-verified

7817}
7818
7819function stopWorkTimer(fiber) {
7820 if (enableUserTimingAPI) {
7821 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
7822 return;
7823 }
7824 // If we pause, its parent is the fiber to unwind from.
7825 currentFiber = fiber['return'];
7826 if (!fiber._debugIsCurrentlyTiming) {
7827 return;
7828 }
7829 fiber._debugIsCurrentlyTiming = false;
7830 endFiberMark(fiber, null, null);
7831 }
7832}
7833
7834function stopFailedWorkTimer(fiber) {
7835 if (enableUserTimingAPI) {

Callers 1

completeUnitOfWorkFunction · 0.70

Calls 2

shouldIgnoreFiberFunction · 0.70
endFiberMarkFunction · 0.70

Tested by

no test coverage detected