Class CompletableFutures
java.lang.Object
com.datastax.astra.internal.utils.CompletableFutures
Utilities to work with Async functions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> CompletionStage
<Void> allDone
(List<CompletionStage<T>> inputs) Merge multiple CompletionStage in a single one
-
Method Details
-
allDone
Merge multiple CompletionStage in a single one- Type Parameters:
T
- generic used with stages- Parameters:
inputs
- list of completion stages- Returns:
- the merged stage
-