G-code Preview — API Reference
    Preparing search index...

    One staged loading-progress event (DD-024). Typed fields only — no human copy.

    interface LoadProgress {
        done?: number;
        generation: number;
        indeterminate?: boolean;
        stage: LoadStage;
        total?: number;
        unit?: LoadUnit;
    }
    Index

    Properties

    done?: number

    Real progress count within the stage; present only with total and a real quantity.

    generation: number

    The load/generation this event belongs to (DD-024 §4 D5); a consumer drops stale generations.

    indeterminate?: boolean

    The stage is real but has no meaningful total yet — the consumer shows activity, not a bar.

    stage: LoadStage
    total?: number

    Real total for the stage; omitted when unknown (then indeterminate is set).

    unit?: LoadUnit

    The unit done/total count.