Uses of Class
org.drasyl.util.FutureComposer
Packages that use FutureComposer
-
Uses of FutureComposer in org.drasyl.util
Methods in org.drasyl.util that return FutureComposerModifier and TypeMethodDescriptionstatic <R> FutureComposer<R>FutureComposer.composeFailedFuture(Throwable cause) static <R> FutureComposer<R>FutureComposer.composeFuture(io.netty.util.concurrent.Future<R> future) static FutureComposer<Void>FutureComposer.composeSucceededFuture()static <R> FutureComposer<R>FutureComposer.composeSucceededFuture(R result) <R> FutureComposer<R>FutureComposer.then(io.netty.util.concurrent.Future<R> future) Returns a newFutureComposerthat will complete if all previousFutures andfuturehave been completed.<R> FutureComposer<R>FutureComposer.then(Function<io.netty.util.concurrent.Future<T>, FutureComposer<R>> mapper) Returns a newFutureComposerthat will complete if all previousFutures and theFutureComposerreturned bymapperhave been completed.<R> FutureComposer<R>FutureComposer.then(Supplier<FutureComposer<R>> mapper) Method parameters in org.drasyl.util with type arguments of type FutureComposerModifier and TypeMethodDescription<R> FutureComposer<R>FutureComposer.then(Function<io.netty.util.concurrent.Future<T>, FutureComposer<R>> mapper) Returns a newFutureComposerthat will complete if all previousFutures and theFutureComposerreturned bymapperhave been completed.<R> FutureComposer<R>FutureComposer.then(Supplier<FutureComposer<R>> mapper)