@ Deprecated public static < V > CompletableFuture < V > firstCompletedFuture ( Iterable < ? extends CompletionStage < ? extends V > > futures ) { return firstCompletedFuture ( futures , false ) ; }
Creates a future that completes when the first future completes either normally or exceptionally . Cancellation of the future does not propagate to the supplied futures .