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

Method call

output/java_guava/1.4.16/Futures.java:919–922  ·  view source on GitHub ↗

Creates the ListenableFuture which will return the result of calling Callable#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 combin

(Callable<C> combiner, Executor executor)

Source from the content-addressed store, hash-verified

917 */
918
919 @CanIgnoreReturnValue
920 public <C> ListenableFuture<C> call(Callable<C> combiner, Executor executor) {
921 return new CombinedFuture<C>(futures, allMustSucceed, executor, combiner);
922 }
923
924 /**
925 * Like {@link #call(Callable, Executor)} but using {@linkplain MoreExecutors#directExecutor

Callers

nothing calls this directly

Calls 1

directExecutorMethod · 0.45

Tested by

no test coverage detected