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

Function stopFailedWorkTimer

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

Source from the content-addressed store, hash-verified

7832}
7833
7834function stopFailedWorkTimer(fiber) {
7835 if (enableUserTimingAPI) {
7836 if (!supportsUserTiming || shouldIgnoreFiber(fiber)) {
7837 return;
7838 }
7839 // If we pause, its parent is the fiber to unwind from.
7840 currentFiber = fiber['return'];
7841 if (!fiber._debugIsCurrentlyTiming) {
7842 return;
7843 }
7844 fiber._debugIsCurrentlyTiming = false;
7845 var warning$$1 = 'An error was thrown inside this error boundary';
7846 endFiberMark(fiber, null, warning$$1);
7847 }
7848}
7849
7850function startPhaseTimer(fiber, phase) {
7851 if (enableUserTimingAPI) {

Callers 1

completeUnitOfWorkFunction · 0.70

Calls 2

shouldIgnoreFiberFunction · 0.70
endFiberMarkFunction · 0.70

Tested by

no test coverage detected