onEvent

open suspend override fun onEvent(action: suspend (CircuitBreakerEvent) -> Unit): Job(source)

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

See also