Documentation
    Preparing search index...

    Interface CircuitBreakerSnapshot

    Serializable breaker state.

    interface CircuitBreakerSnapshot {
        consecutiveFailures: number;
        lastError: string | null;
        tripped: boolean;
        trippedAt: string | null;
    }

    Hierarchy (View Summary)

    Index
    consecutiveFailures: number

    Consecutive commit failures since the last success.

    lastError: string | null

    Message of the most recent failure, or null.

    tripped: boolean

    Whether the breaker is tripped.

    trippedAt: string | null

    ISO timestamp of the current trip, or null.