vertx / io.vertx.reactivex.circuitbreaker / CircuitBreaker / executeAndReport

executeAndReport

open fun <T : Any> executeAndReport(resultFuture: Future<T>, command: Handler<Future<T>>): CircuitBreaker

Same as io.vertx.reactivex.circuitbreaker.CircuitBreaker#executeAndReportWithFallback but using the circuit breaker default fallback.

Parameters

resultFuture - the future on which the operation result is reported

command - the operation

Return
the current io.vertx.reactivex.circuitbreaker.CircuitBreaker