vertx / io.vertx.kotlin.circuitbreaker / io.vertx.circuitbreaker.CircuitBreaker

Extensions for io.vertx.circuitbreaker.CircuitBreaker

executeCommandAwait

suspend fun <T> CircuitBreaker.executeCommandAwait(command: (Future<T>) -> Unit): T

Suspending version of method io.vertx.circuitbreaker.CircuitBreaker.executeCommand

executeCommandWithFallbackAwait

suspend fun <T> CircuitBreaker.executeCommandWithFallbackAwait(command: (Future<T>) -> Unit, fallback: (Throwable) -> T): T

Suspending version of method io.vertx.circuitbreaker.CircuitBreaker.executeCommandWithFallback