onEvent
Executes the given action when a circuit breaker event occurs. This function can be used to listen to all retry events.
Executes the given action when a circuit breaker event occurs. This function can be used to listen to all retry events.