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

Function stopFailedWorkTimer

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

Source from the content-addressed store, hash-verified

7945}
7946
7947function stopFailedWorkTimer(fiber) {
7948 if (enableUserTimingAPI) {
7949 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
7950 return;
7951 }
7952 // If we pause, its parent is the fiber to unwind from.
7953 currentFiber = fiber['return'];
7954 if (!fiber._debugIsCurrentlyTiming) {
7955 return;
7956 }
7957 fiber._debugIsCurrentlyTiming = false;
7958 var warning$$1 = 'An error was thrown inside this error boundary';
7959 endFiberMark(fiber, null, warning$$1);
7960 }
7961}
7962
7963function startPhaseTimer(fiber, phase) {
7964 if (enableUserTimingAPI) {

Callers 1

completeUnitOfWorkFunction · 0.70

Calls 2

shouldIgnoreFiberFunction · 0.70
endFiberMarkFunction · 0.70

Tested by

no test coverage detected