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

executeCommandWithFallbackAwait

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

Same as io.vertx.circuitbreaker.CircuitBreaker but using a callback.

Parameters

command - the operation

fallback - the fallback