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 CompletableFuture<K> value) Create a completable future flow representing a value.Methods inherited from interface io.micronaut.core.execution.ExecutionFlow
flatMap, map, onComplete, onErrorResume, putInContext, then, toCompletableFuture, tryComplete
-
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
-