FlowProgressHandle

FlowProgressHandle is a serialisable handle for the started flow, parameterised by the type of the flow's return value.

Inheritors

Properties

Link copied to clipboard
abstract val id: StateMachineRunId

The started state machine's ID.

Link copied to clipboard
abstract val progress: <Error class: unknown class><String>

The stream of progress tracker events.

Link copied to clipboard
abstract val returnValue: CordaFuture<A>

A CordaFuture of the flow's return value.

Link copied to clipboard
abstract val stepsTreeFeed: DataFeed<List<<Error class: unknown class><Int, String>>, List<<Error class: unknown class><Int, String>>>?

DataFeed of current steps tree, see ProgressTracker

Link copied to clipboard

DataFeed of current step in the steps tree, see ProgressTracker

Functions

Link copied to clipboard
abstract override fun close()

Use this function for flows whose returnValue and progress are not going to be used or tracked, so as to free up server resources. Note that it won't really close if one subscribes on progress Observable, but then forgets to unsubscribe.