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

executeWithFallbackAwait

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

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

Parameters

command - the operation

fallback - the fallback

Return

T

NOTE: This function has been automatically generated from io.vertx.circuitbreaker.CircuitBreaker using Vert.x codegen.