Uses of Interface
io.vertx.core.AsyncResult
Packages that use AsyncResult
-
Uses of AsyncResult in io.vertx.core
Subinterfaces of AsyncResult in io.vertx.coreModifier and TypeInterfaceDescriptioninterfaceThe 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.interfaceA timer task that can be used as a future.Methods in io.vertx.core that return AsyncResultModifier and TypeMethodDescriptiondefault <U> AsyncResult<U> 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> Apply amapperfunction on this async result.default AsyncResult<T> 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 AsyncResultModifier and TypeMethodDescriptiondefault voidPromise.handle(AsyncResult<T> asyncResult) Succeed or fail this promise with theAsyncResultevent.Method parameters in io.vertx.core with type arguments of type AsyncResultModifier and TypeMethodDescriptionFuture.andThen(Handler<AsyncResult<T>> handler) Invokes the givenhandlerupon completion.CompositeFuture.onComplete(Handler<AsyncResult<CompositeFuture>> handler) 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.