Uses of Interface
io.vertx.core.AsyncResult
-
Packages that use AsyncResult Package Description io.vertx.core -
-
Uses of AsyncResult in io.vertx.core
Subinterfaces of AsyncResult in io.vertx.core Modifier and Type Interface Description interfaceCompositeFutureThe composite future wraps a list offutures, it is useful when several futures needs to be coordinated.interfaceFuture<T>Represents the result of an action that may, or may not, have occurred yet.interfaceTimerA timer task that can be used as a future.Methods in io.vertx.core that return AsyncResult Modifier and Type Method Description default <U> AsyncResult<U>AsyncResult. map(Function<? super T,U> mapper)Apply amapperfunction on this async result.default <V> AsyncResult<V>AsyncResult. map(V value)Map the result of this async result to a specificvalue.default <V> AsyncResult<V>AsyncResult. mapEmpty()Map the result of this async result tonull.default AsyncResult<T>AsyncResult. otherwise(Function<Throwable,T> mapper)Apply amapperfunction on this async result.default AsyncResult<T>AsyncResult. otherwise(T value)Map the failure of this async result to a specificvalue.default AsyncResult<T>AsyncResult. otherwiseEmpty()Map the failure of this async result tonull.Methods in io.vertx.core with parameters of type AsyncResult Modifier and Type Method Description default voidPromise. handle(AsyncResult<T> asyncResult)Succeed or fail this promise with theAsyncResultevent.Method parameters in io.vertx.core with type arguments of type AsyncResult Modifier and Type Method Description default Future<T>Future. andThen(Handler<AsyncResult<T>> handler)Invokes the givenhandlerupon completion.CompositeFutureCompositeFuture. onComplete(Handler<AsyncResult<CompositeFuture>> handler)Future<T>Future. onComplete(Handler<AsyncResult<T>> handler)Add a handler to be notified of the result.<U> Future<U>Future. transform(Function<AsyncResult<T>,Future<U>> mapper)Transform this future with amapperfunction.
-