awaitClose

suspend fun awaitClose()(source)

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.