Creates a FutureCombiner that processes the completed futures whether or not they're successful. @since 20.0
(ListenableFuture<? extends V>... futures)
| 790 | */ |
| 791 | |
| 792 | @SafeVarargs |
| 793 | public static <V> FutureCombiner<V> whenAllComplete(ListenableFuture<? extends V>... futures) { |
| 794 | return new FutureCombiner<V>(false, ImmutableList.copyOf(futures)); |
| 795 | } |
| 796 | |
| 797 | /** |
| 798 | * Creates a {@link FutureCombiner} that processes the completed futures whether or not they're |