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

    Function tryLoadWasmArtifact

    • Load the artifact, downgrading a LOAD failure to null after logging a note — but still throwing by name for a stale build (see the module comment).

      For callers that treat a missing compiled backend as "skip these cases".

      Parameters

      • onLoadFailure: (error: unknown) => void = reportLoadFailure

        Note emitted for a load failure; defaults to a warning carrying WASM_BUILD_HINT. Pass one to match a caller's existing console formatting.

      Returns Promise<WasmModule | null>