Whistle API
    Preparing search index...

    Interface WhistleState

    Reactive snapshot for one hook-owned engine.

    interface WhistleState {
        error: WhistleError | undefined;
        pending: number;
        progress: LoadProgress | undefined;
        ready: boolean;
        result: WhistleTranscript | undefined;
        status: WhistleStatus;
    }

    Hierarchy (View Summary)

    Index
    error: WhistleError | undefined

    Latest failure, including ABORTED; cleared when starting new work or on success.

    pending: number

    Number of active and queued transcription requests; excludes model loading and recording.

    progress: LoadProgress | undefined

    Most recent truthful per-asset initialization progress, or undefined before loading.

    ready: boolean

    Whether load has completed. Active inference cancellation may require worker recovery.

    result: WhistleTranscript | undefined

    Last successful transcript; retained across cancellation and pagehide/effect replay.

    Current loading or active request stage; idle also includes an unloaded engine.