Uses of Interface
dev.webfx.platform.async.AsyncResult
Packages that use AsyncResult
-
Uses of AsyncResult in dev.webfx.platform.async
Subinterfaces of AsyncResult in dev.webfx.platform.asyncModifier 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.Methods in dev.webfx.platform.async 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 dev.webfx.platform.async with parameters of type AsyncResultModifier and TypeMethodDescriptiondefault voidPromise.handle(AsyncResult<T> asyncResult) Succeed or fail this promise with theAsyncResultevent.Method parameters in dev.webfx.platform.async with type arguments of type AsyncResultModifier and TypeMethodDescriptionFuture.andThen(Handler<AsyncResult<T>> handler) Invokes the givenhandlerupon completion.CompositeFuture.onComplete(Handler<AsyncResult<CompositeFuture>> handler) Deprecated.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 amapperfunctions. -
Uses of AsyncResult in dev.webfx.platform.async.impl
Subinterfaces of AsyncResult in dev.webfx.platform.async.implModifier and TypeInterfaceDescriptioninterfaceExpose some of the future internal stuff.interfaceClasses in dev.webfx.platform.async.impl that implement AsyncResultModifier and TypeClassDescriptionclassfinal classFailedFuture<T>Failed future implementation.classFutureImpl<T>Future implementation.final classPromiseImpl<T>Promise implementation.final classSucceeded future implementation.Methods in dev.webfx.platform.async.impl with parameters of type AsyncResultModifier and TypeMethodDescriptionvoidPromiseImpl.handle(AsyncResult<T> ar) Create a promise that hasn't completed yetMethod parameters in dev.webfx.platform.async.impl with type arguments of type AsyncResultModifier and TypeMethodDescriptionCompositeFutureImpl.onComplete(Handler<AsyncResult<CompositeFuture>> handler) FailedFuture.onComplete(Handler<AsyncResult<T>> handler) FutureImpl.onComplete(Handler<AsyncResult<T>> handler) SucceededFuture.onComplete(Handler<AsyncResult<T>> handler)
Future.join(List)