vertx / io.vertx.rxjava.circuitbreaker / CircuitBreaker / executeCommandWithFallback

# executeCommandWithFallback

`open fun <T : Any> executeCommandWithFallback(command: Handler<Future<T>>, fallback: Function<Throwable, T>, handler: Handler<AsyncResult<T>>): Unit`

Same as `io.vertx.rxjava.circuitbreaker.CircuitBreaker#executeWithFallback` but using a callback.

### Parameters

`command` - the operation

`fallback` - the fallback

`handler` - the completion handler receiving either the operation result or the fallback result. The parameter is an because if the fallback is not called, the error is passed to the handler.