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

    Variable NOT_INITIALIZED_MSGConst

    NOT_INITIALIZED_MSG: "[DataWorker] Not initialized - call initialize() first" = '[DataWorker] Not initialized - call initialize() first'

    Single source of truth for the "task called before initialize()" error. The header comment in data-worker.ts noted that an extracted narrowing helper would lose TS narrowing if wasmModule were a module-let. Reading via requireWasm(ctx) and returning the unwrapped value sidesteps that: each task body uses a const wasm that's narrowed for the rest of the function.