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

Method whenAllSucceed

output/java_guava/1.4.17/Futures.java:817–820  ·  view source on GitHub ↗

Creates a FutureCombiner requiring that all passed in futures are successful. If any input fails, the returned future fails immediately. @since 20.0

(ListenableFuture<? extends V>... futures)

Source from the content-addressed store, hash-verified

815 */
816
817 @SafeVarargs
818 public static <V> FutureCombiner<V> whenAllSucceed(ListenableFuture<? extends V>... futures) {
819 return new FutureCombiner<V>(true, ImmutableList.copyOf(futures));
820 }
821
822 /**
823 * Creates a {@link FutureCombiner} requiring that all passed in futures are successful.

Callers

nothing calls this directly

Calls 1

copyOfMethod · 0.95

Tested by

no test coverage detected