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

Function stopWorkTimer

code/redux/public/app.js:7932–7945  ·  view source on GitHub ↗
(fiber)

Source from the content-addressed store, hash-verified

7930}
7931
7932function stopWorkTimer(fiber) {
7933 if (enableUserTimingAPI) {
7934 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
7935 return;
7936 }
7937 // If we pause, its parent is the fiber to unwind from.
7938 currentFiber = fiber['return'];
7939 if (!fiber._debugIsCurrentlyTiming) {
7940 return;
7941 }
7942 fiber._debugIsCurrentlyTiming = false;
7943 endFiberMark(fiber, null, null);
7944 }
7945}
7946
7947function stopFailedWorkTimer(fiber) {
7948 if (enableUserTimingAPI) {

Callers 1

completeUnitOfWorkFunction · 0.70

Calls 2

shouldIgnoreFiberFunction · 0.70
endFiberMarkFunction · 0.70

Tested by

no test coverage detected