@DoNotImplement 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
@NotNull StateMachineRunId getId()
The started state machine's ID.
@NotNull 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.