public FlowHandle<A>
interface FlowHandle
is a serialisable handle for the started flow, parameterised by the type of the flow's return value.
interface FlowHandle
Modifier and Type | Method and Description |
---|---|
void |
close()
Use this function for flows whose returnValue is not going to be used, so as to free up server resources.
|
StateMachineRunId |
getId()
The started state machine's ID.
|
CordaFuture<A> |
getReturnValue()
A
interface CordaFuture of the flow's return value. |
StateMachineRunId getId()
The started state machine's ID.
CordaFuture<A> getReturnValue()
A interface CordaFuture
of the flow's return value.
interface CordaFuture
void close()
Use this function for flows whose returnValue is not going to be used, so as to free up server resources.