Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    Index
    _pendingViewState: Partial<ViewState> | null = null
    _prevPerNodeViewState: Map<string, ViewState> = ...
    • 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.

      Parameters

      • triggerUpdate: (state: Partial<ViewState>) => Promise<unknown>

      Returns boolean

      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 _passWaiters 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.

      Parameters

      • path: string
      • current: ViewState
      • loader: unknown

      Returns void