Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...
    • label names the worker in every rejection message — the pool passes Worker <n>, the sort coordinator passes SortWorker.

      The timeout arm rejects with WorkerInitTimeoutError, the other two with a plain Error. That split is load-bearing for callers that retry: see the error's own doc for why a deadline miss is not evidence of a broken worker.

      Type Parameters

      • TResult

      Parameters

      • worker: Worker
      • api: GuardedInitApi<TResult>
      • label: string
      • timeoutMs: number
      • attachPermanentHandlers: () => void
      • OptionalwasmPath: string
      • OptionalwasmModule: Module

      Returns Promise<TResult>