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

    Every limit here is resolved by the same clamp (finite, floored, at least 1), so pass a real budget: a non-positive or non-finite value becomes 1, not "unbounded". For maxBytes that means a 1-BYTE cap under which every non-empty chunk drops; for maxDepth, a queue one task deep.

    interface OpfsWriteQueueOptions {
        concurrency: number;
        maxDepth: number;
        maxBytes: number;
    }
    Index
    concurrency: number

    Max writes running concurrently against OPFS.

    maxDepth: number

    Max pending (not-yet-started) tasks; an overflowing arrival is dropped.

    maxBytes: number

    Max bytes retained by pending tasks; an overflowing arrival is dropped.