Circuit breaker for failing endpoints.
Current circuit state.
Pre-call gate check — throws if circuit is open. Alias for the logic in onRequest(), callable without a full call context.
Record a successful call — resets the failure count.
Record a failed call — may open the circuit.
Circuit breaker for failing endpoints.