data class FlowHandle<A>FlowHandle is a serialisable handle for the started flow, parameterised by the type of the flows return value.
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()| <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. |
| id |
val id: StateMachineRunId |
| progress |
val progress: <ERROR CLASS><String> |
| returnValue |
val returnValue: <ERROR CLASS><A> |