Private_Private_Private_Queue a view-state for a future drain. Overwrites any previous pending state.
Returns the pending view-state and clears it, or null if nothing was queued.
Whether a view-state is currently queued.
Process any pending view-state queued during a retry / refinement
loop. Fires on a microtask so the caller's promise resolves first,
then re-enters updateView via the supplied trigger callback.
True when a state was queued and a re-entry has been scheduled; false when the slot was empty and nothing will run. Callers that also settle the pass waiters need this: the re-entered pass carries the parked waiters to its own commit, so resolving them as well would release them before the view they asked for has landed.
S6: per-loader predictive prefetch. Extrapolates the next-frame
view state from the path's previous derived view-state to the
current one and fires prefetchChunks(predicted) on the loader.
Honors per-node tolerance extension (incl. a fully-extended node's
slice-invariant query) by accepting the derived view-state (caller
computes it) — so extended nodes don't get over-prefetched.
Fire-and-forget in a microtask so a slow prefetch cannot delay the commit path.
PrivatestartRegister a new prediction for path, aborting the ones it supersedes.
PrivateabortAbort every live prediction for path.
Drop the saved per-node previous view-state for a single path.
Clear the per-loader prefetch predictor state and abort every live prediction. Called on dispose.
The live predicted-view prefetches per node, oldest first, at most
LIVE_PREDICTIONS_PER_NODE. A new prediction aborts the oldest — the user has moved past it — but NOT its immediate predecessor: consecutive predictions overlap (one chunk spans several slices), and aborting the predecessor before the new one's reads join its in-flight fetches would cancel those fetches outright and make the new prediction refetch them. clearPrev (dispose) and forgetPath abort them all.