//arrow-fx-coroutines/arrow.fx.coroutines/CircuitBreaker/awaitClose

awaitClose

common suspend fun awaitClose()

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?

Arrow Org
<