footprintjs - v11.2.0
    Preparing search index...

    Interface BudgetStep

    A stage on the slowest path, with what it declares and how many times the path runs it.

    interface BudgetStep {
        attempts: number;
        backoffMs: number;
        passes: number;
        stageId: string;
        timeoutMs?: number;
        worstMs: number | null;
    }
    Index
    attempts: number

    How many attempts its policy allows (1 without one).

    backoffMs: number

    The waits between its attempts, in total.

    passes: number

    How many times the path runs it — more than 1 only inside an assumed loop.

    stageId: string

    The stage id as the run names it — a subflow's stages under their mount (pay/charge).

    timeoutMs?: number

    The cap on one attempt; absent when the stage declares none (then worstMs is null). Also absent for a retry loop's own wait and control steps, which run no stage function: their worst case is their wait.

    worstMs: number | null

    attempts × timeoutMs + backoffMs — null when the stage is unbounded.