MCPcopy Create free account
hub / github.com/caseywebdev/react-list / pingSuspendedRoot

Function pingSuspendedRoot

docs/index.js:14762–14779  ·  view source on GitHub ↗
(root, wakeable, pingedLanes)

Source from the content-addressed store, hash-verified

14760 wakeable.then(root, root));
14761}
14762function pingSuspendedRoot(root, wakeable, pingedLanes) {
14763 var pingCache = root.pingCache;
14764 null !== pingCache && pingCache.delete(wakeable);
14765 root.pingedLanes |= root.suspendedLanes & pingedLanes;
14766 root.warmLanes &= ~pingedLanes;
14767 workInProgressRoot === root &&
14768 (workInProgressRootRenderLanes & pingedLanes) === pingedLanes &&
14769 (4 === workInProgressRootExitStatus ||
14770 (3 === workInProgressRootExitStatus &&
14771 (workInProgressRootRenderLanes & 62914560) ===
14772 workInProgressRootRenderLanes &&
14773 300 > now() - globalMostRecentFallbackTime)
14774 ? 0 === (executionContext & 2) && prepareFreshStack(root, 0)
14775 : (workInProgressRootPingedLanes |= pingedLanes),
14776 workInProgressSuspendedRetryLanes === workInProgressRootRenderLanes &&
14777 (workInProgressSuspendedRetryLanes = 0));
14778 ensureRootIsScheduled(root);
14779}
14780function retryTimedOutBoundary(boundaryFiber, retryLane) {
14781 0 === retryLane && (retryLane = claimNextRetryLane());
14782 boundaryFiber = enqueueConcurrentRenderForLane(boundaryFiber, retryLane);

Callers

nothing calls this directly

Calls 3

prepareFreshStackFunction · 0.85
ensureRootIsScheduledFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…