Uses of Interface
com.spotify.futures.FuturesExtra.Function2

  • Uses of FuturesExtra.Function2 in com.spotify.futures

    Methods in com.spotify.futures with parameters of type FuturesExtra.Function2
    Modifier and Type
    Method
    Description
    static <Z, A, B> com.google.common.util.concurrent.ListenableFuture<Z>
    FuturesExtra.syncTransform2(com.google.common.util.concurrent.ListenableFuture<A> a, com.google.common.util.concurrent.ListenableFuture<B> b, FuturesExtra.Function2<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.syncTransform2(com.google.common.util.concurrent.ListenableFuture<A> a, com.google.common.util.concurrent.ListenableFuture<B> b, FuturesExtra.Function2<Z,? super A,? super B> function, Executor executor)
    Transform the input futures into a single future, using the provided transform function.