arrow-fx-coroutines / arrow.fx.coroutines / CircuitBreaker / awaitClose
suspend fun awaitClose(): Unit
Awaits for this CircuitBreaker to be CircuitBreaker.State.Closed.
If this CircuitBreaker is already in a closed state, then
it returns immediately, otherwise it will wait (asynchronously) until
the CircuitBreaker switches to the CircuitBreaker.Closed
state again.
Do you like Arrow?
✖