Package org.jboss.elemento.flow
Interface FlowCallback<C extends FlowContext>
- Type Parameters:
C- the type of the context shared between the tasks
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback for the outcome of the execution of asynchronous tasks.
The context provides methods to check if the execution was successful, ran into a timeout or failed with an error.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the execution of the asynchronous tasks has been completed.
-
Method Details
-
finish
Called when the execution of the asynchronous tasks has been completed.The context provides methods to check if the execution was successful, ran into a timeout or failed with an error.
- Parameters:
context- the context shared between the tasks
-