Uses of Interface
com.google.api.core.ApiAsyncFunction
-
Packages that use ApiAsyncFunction Package Description com.google.api.core -
-
Uses of ApiAsyncFunction in com.google.api.core
Methods in com.google.api.core with parameters of type ApiAsyncFunction Modifier and Type Method Description static <V,X extends Throwable>
ApiFuture<V>ApiFutures. catchingAsync(ApiFuture<V> input, Class<X> exceptionType, ApiAsyncFunction<? super X,V> callback, Executor executor)Returns aApiFuturewhose result is taken from the given primary input or, if the primary input fails with the given exceptionType, from the result provided by the callback.static <I,O>
ApiFuture<O>ApiFutures. transformAsync(ApiFuture<I> input, ApiAsyncFunction<I,O> function)Deprecated.Use ApiFutures.transformAsync(ApiFuture, ApiAsyncFunction, Executor), the overload that requires an executor.static <I,O>
ApiFuture<O>ApiFutures. transformAsync(ApiFuture<I> input, ApiAsyncFunction<I,O> function, Executor executor)Returns a newApiFuturewhose result is asynchronously derived from the result of the givenApiFuture.
-