footprintjs - v11.2.0
    Preparing search index...

    Interface AttemptInputs

    What a retry-or-stop decision reads — the inputs retryRules evaluates, first match wins (§3.1). The runner computes each one only when a rule reaches it, so retryOn and backoffMs run exactly when a retry needs them.

    category and keyPresent are inputs no default rule reads; a chart's own rules over the same inputs may. timeLeftMs is Infinity without a deadline, and so is timeLeftAfterWaitMs (= timeLeftMs − delayMs): the no-time-left rule compares one input with a constant, as every decide() filter does.

    interface AttemptInputs {
        aborted: boolean;
        attempt: number;
        category?: AttemptCategory;
        delayMs: number;
        keyPresent: boolean;
        of: number;
        outcome: AttemptOutcome;
        retryOn: boolean;
        timeLeftAfterWaitMs: number;
        timeLeftMs: number;
    }
    Index
    aborted: boolean

    The run's signal has aborted — read when rule 3 is reached, so an abort raised inside retryOn is seen by the decision taken again after it. Always true for an 'aborted' outcome.

    attempt: number

    This attempt, 1-based.

    category?: AttemptCategory
    delayMs: number

    The wait before the next attempt, from backoffMs (0 when it is absent, invalid or throws).

    keyPresent: boolean

    Whether the target declared an idempotency key — never its value.

    of: number

    The attempts the policy allows in total.

    retryOn: boolean

    The policy's retryOn verdict on this attempt's error (true when absent; a throw is false, and the record says it threw: AttemptRecord.retryOnThrew).

    timeLeftAfterWaitMs: number
    timeLeftMs: number