Package io.micronaut.core.execution
Interface DelayedExecutionFlow<T>
- Type Parameters:
T
- The type of this flow
- All Superinterfaces:
ExecutionFlow<T>
ExecutionFlow
that can be completed similar to a
CompletableFuture
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Complete this flow normally.void
Complete this flow with an exception.static <T> DelayedExecutionFlow<T>
create()
Methods inherited from interface io.micronaut.core.execution.ExecutionFlow
flatMap, map, onComplete, onErrorResume, putInContext, then, toCompletableFuture, tryComplete, tryCompleteError, tryCompleteValue
-
Method Details
-
create
-
complete
Complete this flow normally.- Parameters:
result
- The result value
-
completeExceptionally
Complete this flow with an exception.- Parameters:
exc
- The exception
-