## Uses of Class
io.vertx.rxjava.core.Promise

- Packages that use Promise
  Package | Description
  --- | ---
  io.vertx.rxjava.circuitbreaker |
  io.vertx.rxjava.core |
  io.vertx.rxjava.ext.bridge |
  io.vertx.rxjava.ext.eventbus.bridge.tcp |
  io.vertx.rxjava.ext.healthchecks |
  io.vertx.rxjava.ext.unit |
  io.vertx.rxjava.servicediscovery.spi |

- - ### Uses of Promise in io.vertx.rxjava.circuitbreaker

    Methods in io.vertx.rxjava.circuitbreaker with parameters of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `<T> CircuitBreaker` | CircuitBreaker.`executeAndReport(Promise<T> resultPromise, Handler<Promise<T>> command)` Same as `CircuitBreaker.executeAndReportWithFallback(io.vertx.rxjava.core.Promise<T>, io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)` but using the circuit breaker default fallback.
    `<T> CircuitBreaker` | CircuitBreaker.`executeAndReportWithFallback(Promise<T> resultPromise, Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback)` Executes the given operation with the circuit breaker control.

    Method parameters in io.vertx.rxjava.circuitbreaker with type arguments of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `<T> void` | CircuitBreaker.`execute(Handler<Promise<T>> command, Handler<AsyncResult<T>> handler)` Same as `CircuitBreaker.executeWithFallback(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` but using the circuit breaker default fallback.
    `<T> CircuitBreaker` | CircuitBreaker.`executeAndReport(Promise<T> resultPromise, Handler<Promise<T>> command)` Same as `CircuitBreaker.executeAndReportWithFallback(io.vertx.rxjava.core.Promise<T>, io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>)` but using the circuit breaker default fallback.
    `<T> CircuitBreaker` | CircuitBreaker.`executeAndReportWithFallback(Promise<T> resultPromise, Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback)` Executes the given operation with the circuit breaker control.
    `<T> void` | CircuitBreaker.`executeCommand(Handler<Promise<T>> command, Handler<AsyncResult<T>> handler)` Deprecated.
    `<T> void` | CircuitBreaker.`executeCommandWithFallback(Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback, Handler<AsyncResult<T>> handler)` Deprecated.
    `<T> void` | CircuitBreaker.`executeWithFallback(Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback, Handler<AsyncResult<T>> handler)` Same as `CircuitBreaker.executeWithFallback(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` but using a callback.
    `<T> Single<T>` | CircuitBreaker.`rxExecute(Handler<Promise<T>> command)` Same as `CircuitBreaker.executeWithFallback(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` but using the circuit breaker default fallback.
    `<T> Single<T>` | CircuitBreaker.`rxExecuteCommand(Handler<Promise<T>> command)` Deprecated.
    `<T> Single<T>` | CircuitBreaker.`rxExecuteCommandWithFallback(Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback)` Deprecated.
    `<T> Single<T>` | CircuitBreaker.`rxExecuteWithFallback(Handler<Promise<T>> command, java.util.function.Function<Throwable,T> fallback)` Same as `CircuitBreaker.executeWithFallback(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, java.util.function.Function<java.lang.Throwable, T>, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` but using a callback.

  - ### Uses of Promise in io.vertx.rxjava.core

    Fields in io.vertx.rxjava.core with type parameters of type Promise
    Modifier and Type | Field and Description
    --- | ---
    `static io.vertx.lang.rx.TypeArg<Promise>` | Promise.`__TYPE_ARG`

    Methods in io.vertx.rxjava.core that return Promise
    Modifier and Type | Method and Description
    --- | ---
    `static <T> Promise<T>` | Promise.`newInstance(Promise arg)`
    `static <T> Promise<T>` | Promise.`newInstance(Promise arg, io.vertx.lang.rx.TypeArg<T> __typeArg_T)`
    `static <T> Promise<T>` | Promise.`promise()` Create a promise that hasn't completed yet

    Method parameters in io.vertx.rxjava.core with type arguments of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `<T> void` | Context.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered, Handler<AsyncResult<T>> resultHandler)` Safely execute some blocking code.
    `<T> void` | Vertx.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered, Handler<AsyncResult<T>> resultHandler)` Safely execute some blocking code.
    `<T> void` | WorkerExecutor.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered, Handler<AsyncResult<T>> resultHandler)` Safely execute some blocking code.
    `<T> void` | Context.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, Handler<AsyncResult<T>> resultHandler)` Invoke `Context.executeBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` with order = true.
    `<T> void` | Vertx.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, Handler<AsyncResult<T>> resultHandler)` Like `Vertx.executeBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` called with ordered = true.
    `<T> void` | WorkerExecutor.`executeBlocking(Handler<Promise<T>> blockingCodeHandler, Handler<AsyncResult<T>> resultHandler)` Like `WorkerExecutor.executeBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` called with ordered = true.
    `<T> Observable<T>` | Context.`executeBlockingObservable(Handler<Promise<T>> blockingCodeHandler)` Deprecated. use `Context.rxExecuteBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean)` instead
    `<T> Observable<T>` | Vertx.`executeBlockingObservable(Handler<Promise<T>> blockingCodeHandler)` Deprecated. use `Vertx.rxExecuteBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean)` instead
    `<T> Observable<T>` | WorkerExecutor.`executeBlockingObservable(Handler<Promise<T>> blockingCodeHandler)` Deprecated. use `WorkerExecutor.rxExecuteBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean)` instead
    `<T> Observable<T>` | Context.`executeBlockingObservable(Handler<Promise<T>> blockingCodeHandler, boolean ordered)` Deprecated. use `Context.rxExecuteBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean)` instead
    `<T> Observable<T>` | Vertx.`executeBlockingObservable(Handler<Promise<T>> blockingCodeHandler, boolean ordered)` Deprecated. use `Vertx.rxExecuteBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean)` instead
    `<T> Observable<T>` | WorkerExecutor.`executeBlockingObservable(Handler<Promise<T>> blockingCodeHandler, boolean ordered)` Deprecated. use `WorkerExecutor.rxExecuteBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean)` instead
    `static <T> Future<T>` | Future.`future(Handler<Promise<T>> handler)` Create a future that hasn't completed yet and that is passed to the `handler` before it is returned.
    `<T> Single<T>` | Context.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler)` Invoke `Context.executeBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` with order = true.
    `<T> Single<T>` | Vertx.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler)` Like `Vertx.executeBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` called with ordered = true.
    `<T> Single<T>` | WorkerExecutor.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler)` Like `WorkerExecutor.executeBlocking(io.vertx.core.Handler<io.vertx.rxjava.core.Promise<T>>, boolean, io.vertx.core.Handler<io.vertx.core.AsyncResult<T>>)` called with ordered = true.
    `<T> Single<T>` | Context.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered)` Safely execute some blocking code.
    `<T> Single<T>` | Vertx.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered)` Safely execute some blocking code.
    `<T> Single<T>` | WorkerExecutor.`rxExecuteBlocking(Handler<Promise<T>> blockingCodeHandler, boolean ordered)` Safely execute some blocking code.

  - ### Uses of Promise in io.vertx.rxjava.ext.bridge

    Subclasses of Promise in io.vertx.rxjava.ext.bridge
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BaseBridgeEvent` Represents an event that occurs on the event bus bridge.

  - ### Uses of Promise in io.vertx.rxjava.ext.eventbus.bridge.tcp

    Subclasses of Promise in io.vertx.rxjava.ext.eventbus.bridge.tcp
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BridgeEvent` Represents an event that occurs on the event bus bridge.

  - ### Uses of Promise in io.vertx.rxjava.ext.healthchecks

    Method parameters in io.vertx.rxjava.ext.healthchecks with type arguments of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `HealthChecks` | HealthChecks.`register(String name, Handler<Promise<Status>> procedure)` Registers a health check procedure.
    `HealthCheckHandler` | HealthCheckHandler.`register(String name, Handler<Promise<Status>> procedure)` Registers a health check procedure.
    `HealthChecks` | HealthChecks.`register(String name, long timeout, Handler<Promise<Status>> procedure)` Registers a health check procedure.
    `HealthCheckHandler` | HealthCheckHandler.`register(String name, long timeout, Handler<Promise<Status>> procedure)` Registers a health check procedure.

  - ### Uses of Promise in io.vertx.rxjava.ext.unit

    Methods in io.vertx.rxjava.ext.unit with parameters of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `void` | Completion.`resolve(Promise<T> future)` Completes the future upon completion, otherwise fails it.
    `void` | Async.`resolve(Promise<Void> future)` Completes the future upon completion, otherwise fails it.
    `void` | TestCompletion.`resolve(Promise<Void> future)` Completes the future upon completion, otherwise fails it.

  - ### Uses of Promise in io.vertx.rxjava.servicediscovery.spi

    Methods in io.vertx.rxjava.servicediscovery.spi with parameters of type Promise
    Modifier and Type | Method and Description
    --- | ---
    `void` | ServiceExporter.`init(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> future)` Starts the exporter.
    `void` | ServiceImporter.`start(Vertx vertx, ServicePublisher publisher, JsonObject configuration, Promise<Void> future)` Starts the importer.

Copyright © 2021 Eclipse. All rights reserved.