Type Alias: CircuitState
CircuitState =
"closed"|"open"|"half-open"
Defined in: packages/agentos/src/core/safety/CircuitBreaker.ts:8
File
CircuitBreaker.ts
Description
Classic three-state circuit breaker (closed → open → half-open → closed) that wraps any async operation. When failures exceed a threshold within a window, the circuit opens and rejects calls immediately for a cooldown period.