StateTransition
constructor(fromState: CircuitBreakerState, toState: CircuitBreakerState, manual: Boolean = false)(source)
Parameters
fromState
The state the circuit breaker is transitioning from.
toState
The state the circuit breaker is transitioning to.
manual
Whether the transition was triggered manually or not.