MCPcopy Create free account
hub / github.com/antlr/codebuff / callAsync

Method callAsync

output/java_guava/1.4.19/Futures.java:890–892  ·  view source on GitHub ↗

Creates the ListenableFuture which will return the result of calling AsyncCallable#call in combiner when all futures complete, using the specified executor. If the combiner throws a CancellationException, the returned future will be cancelled. If the c

(AsyncCallable<C> combiner, Executor executor)

Source from the content-addressed store, hash-verified

888
889
890 public <C> ListenableFuture<C> callAsync(AsyncCallable<C> combiner, Executor executor) {
891 return new CombinedFuture<C>(futures, allMustSucceed, executor, combiner);
892 }
893
894 /**
895 * Like {@link #callAsync(AsyncCallable, Executor)} but using {@linkplain

Callers

nothing calls this directly

Calls 1

directExecutorMethod · 0.45

Tested by

no test coverage detected