allOfCompletableFuture

Returns a new CompletableFuture that is completed when all the given stages complete. If any of the given stages complete exceptionally, then the returned CompletableFuture also does so, with a CompletionException holding this exception as its cause. Otherwise, the results, if any, of the given stages are not reflected in the returned CompletableFuture, but may be obtained by inspecting them individually. If no stages are provided, returns a CompletableFuture completed with the value null.

If you need the results of given stages, prefer below methods:

This method is the same as CompletableFutureUtils.allOf, providing this method is convenient for method chaining.

See also