net.corda.core.messaging / FlowHandle

FlowHandle

data class FlowHandle<A>

FlowHandle is a serialisable handle for the started flow, parameterised by the type of the flows return value.

Parameters

id - The started state machines ID.

progress - The stream of progress tracker events.

returnValue - An Observable emitting a single event containing the flows return value. To block on this value: val returnValue = rpc.startFlow(::MyFlow).returnValue.toBlocking().first()


Constructors

<init> FlowHandle(id: StateMachineRunId, progress: <ERROR CLASS><String>, returnValue: <ERROR CLASS><A>)

FlowHandle is a serialisable handle for the started flow, parameterised by the type of the flows return value.

Properties

id val id: StateMachineRunId
progress val progress: <ERROR CLASS><String>
returnValue val returnValue: <ERROR CLASS><A>