StateTransition
data class StateTransition(val fromState: CircuitBreakerState, val toState: CircuitBreakerState, val manual: Boolean = false) : CircuitBreakerEvent(source)
Represents an event triggered when the circuit breaker transitions to a new state.
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.