Interface AsynchronousFlowCompletion
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Allows ThreadState safe logic to run on the completion of the
AsynchronousFlow.
As the AsynchronousFlow is very likely to use other Thread
instances (and likely call the completion of AsynchronousFlow on
another Thread), this allows ThreadState logic to synchronise
the results back into the ManagedFunction and its dependent
ManagedObject instances.
- Author:
- Daniel Sagenschneider
-
Method Summary
-
Method Details
-
run
Contains theThreadStatesafe logic.- Throws:
Throwable- Indicate a failure in theAsynchronousFlow.
-