Uses of Interface
com.spotify.futures.FuturesExtra.AsyncFunction2
-
Uses of FuturesExtra.AsyncFunction2 in com.spotify.futures
Methods in com.spotify.futures with parameters of type FuturesExtra.AsyncFunction2Modifier and TypeMethodDescriptionstatic <Z,A, B> com.google.common.util.concurrent.ListenableFuture<Z> FuturesExtra.asyncTransform2(com.google.common.util.concurrent.ListenableFuture<A> a, com.google.common.util.concurrent.ListenableFuture<B> b, FuturesExtra.AsyncFunction2<Z, ? super A, ? super B> function) Transform the input futures into a single future, using the provided transform function.static <Z,A, B> com.google.common.util.concurrent.ListenableFuture<Z> FuturesExtra.asyncTransform2(com.google.common.util.concurrent.ListenableFuture<A> a, com.google.common.util.concurrent.ListenableFuture<B> b, FuturesExtra.AsyncFunction2<Z, ? super A, ? super B> function, Executor executor) Transform the input futures into a single future, using the provided transform function.