IFClite TypeScript API
    Preparing search index...

    Interface DownloadOptions

    interface DownloadOptions {
        onPhase?: (phase: "preparing" | "downloading") => void;
        onProgress?: (received: number, total?: number) => void;
        signal?: AbortSignal;
    }
    Index
    onPhase?: (phase: "preparing" | "downloading") => void

    Preparation/conversion has no fabricated byte percentage.

    onProgress?: (received: number, total?: number) => void

    Called with bytes received and, when the provider knows it, the total.

    signal?: AbortSignal