snapshot
Returns a point-in-time snapshot of the circuit breaker state and counters. Use for health endpoints, dashboards, or metrics without subscribing to state or events.
Return
CircuitBreakerSnapshot with current CircuitBreakerSnapshot.state, CircuitBreakerSnapshot.failureCount, and CircuitBreakerSnapshot.successCount.