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

    Class LuxarZipStore

    Reads a zipped zarr store over HTTP range requests.

    Implements

    • AsyncReadable
    Index
    url: string
    • Fresh identity of the archive, delegated to the reader so the HEAD it costs also seeds the length ZipFileStore would otherwise ask for separately.

      Parameters

      • Optionalsignal: AbortSignal
      • OptionaltimeoutMs: number

      Returns Promise<string | null>

    • Read one member with ONE ranged GET (header + payload, sized from the central directory) instead of unzipit's two serial ones.

      Parameters

      • key: string
      • Optionalsignal: AbortSignal | GetOptions

        Cancels this member's window fetch, queued or in flight (the store's own lifetime still cancels it too). zarrita, which also reads this store directly, passes its GetOptions here instead. The shared directory open never takes it: one cancelled chunk must not fail the directory every other chunk needs.

      • Optionaloptions: ChunkSourceGetOptions

        priority classes the member's window fetch in the gate.

      Returns Promise<Uint8Array<ArrayBufferLike> | undefined>

    • Drop the archive. The directory is not reusable afterwards; a disposed store refuses to re-open rather than quietly starting a fresh download for a dataset the caller has already navigated away from.

      Returns void