arrow-fx-coroutines / arrow.fx.coroutines / CircuitBreaker / State / Closed / <init>
Closed(failures:
Int
)
The initial State of the CircuitBreaker. While in this state, the circuit breaker allows tasks to be executed.
Contract:
failures
counter.failures
counter reaches the maxFailures
count,
the breaker is tripped into the CircuitBreaker.Open state.failures
- is the current failures count
Do you like Arrow?
✖