Whistle API
    Preparing search index...

    Interface LoadProgress

    Progress for one asset or initialization stage; there is no overall estimated percentage.

    interface LoadProgress {
        asset?: "loader" | "wasm" | "model";
        fraction?: number;
        fromCache?: boolean;
        loadedBytes?: number;
        stage: "loading-runtime" | "loading-model" | "initializing" | "ready";
        totalBytes?: number;
    }
    Index
    asset?: "loader" | "wasm" | "model"

    Asset being transferred/verified, absent during initialization and readiness.

    fraction?: number

    Per-asset completion in [0, 1]; absent when no numeric estimate is available.

    fromCache?: boolean

    True for a verified persistent browser hit or a local Node read.

    loadedBytes?: number

    Bytes received or verified for this asset.

    stage: "loading-runtime" | "loading-model" | "initializing" | "ready"

    Current operation. ready is emitted once per factory, including after later recovery.

    totalBytes?: number

    Expected locked byte length when known.