Logos DX
    Preparing search index...

    Internal state store for circuit breaker operations.

    Index

    Constructors

    Properties

    failures: number = 0

    Number of consecutive failures in closed state

    halfOpenAttempts: number = 0

    Number of attempts made in half-open state

    nextAvailable: number | null = null

    Timestamp when the circuit breaker will be available again

    state: CircuitBreakerState = CircuitBreakerState.Closed

    Current state of the circuit breaker

    testInProgress: boolean = false

    Flag indicating if a test call is currently in progress in half-open state

    trippedAt: number | null = null

    Timestamp when circuit was last tripped (opened)