Luxar Viewer API Documentation - v2026.10.19
    Preparing search index...

    Counts worker-side in-flight tasks and records dispatch performance counters.

    Index
    realInFlight: Map<Worker, number> = ...

    Real (worker-side) in-flight task count per worker; absent means 0.

    • Record a dispatch of task to target, chosen from the live workers. task must be the worker call's own promise (not a timeout/abort race), so the count drops only when the worker has actually finished.

      Parameters

      • target: Worker
      • workers: readonly WorkerInstance[]
      • task: Promise<unknown>

      Returns void