AniLink - v3.0.0
    Preparing search index...

    Function peekRetryBudgetState

    • Returns the recorded retry-budget window for one owner without rolling it forward, the read-only counterpart of getRetryBudgetState used by transport-state snapshots. Unlike getRetryBudgetState, reading through this helper never resets retriesUsed or re-anchors windowEndsAt, so snapshotting an elapsed window reports the spent state as-is instead of silently granting a fresh window; an owner with no recorded state yields undefined without allocating one.

      Parameters

      • owner: object

        The caller's transport-settings object.

      Returns RetryBudgetState | undefined

      The recorded budget state, or undefined when none exists.