Package io.micronaut.core.execution
Interface CompletableFutureExecutionFlow<T>
- Type Parameters:
T
- The value type
- All Superinterfaces:
ExecutionFlow<T>
The completable future execution flow.
- Since:
- 4.0.0
- Author:
- Denis Stepnov
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K> @NonNull ExecutionFlow<K>
just
(@NonNull CompletionStage<K> value) Create a completable future flow representing a value.Methods inherited from interface io.micronaut.core.execution.ExecutionFlow
cancel, completeTo, flatMap, map, onComplete, onErrorResume, putInContext, putInContextIfAbsent, then, timeout, toCompletableFuture, tryComplete, tryCompleteError, tryCompleteValue
-
Method Details
-
just
Create a completable future flow representing a value.- Type Parameters:
K
- The value type- Parameters:
value
- The value- Returns:
- a new flow
-