awaitClose

suspend fun awaitClose()(source)

Awaits for this CircuitBreaker to be 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 Closed state again.