public static interface FuturesExtra.AsyncFunction2<Z,A,B>
FuturesExtra.syncTransform2(com.google.common.util.concurrent.ListenableFuture<A>, com.google.common.util.concurrent.ListenableFuture<B>, com.spotify.futures.FuturesExtra.Function2<Z, ? super A, ? super B>) to asynchronously
transform two values into a return value.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<Z> |
apply(A a,
B b)
Create and return a
ListenableFuture that will execute combining a and b into
some sort of result. |
com.google.common.util.concurrent.ListenableFuture<Z> apply(A a, B b) throws Exception
ListenableFuture that will execute combining a and b into
some sort of result.a - the first input value.b - the second input value.ExceptionCopyright © 2015 Spotify AB. All Rights Reserved.