FlowHandleImpl

data class FlowHandleImpl<A>(val id: StateMachineRunId, val returnValue: CordaFuture<A>) : FlowHandle<A>

Constructors

Link copied to clipboard
constructor(id: StateMachineRunId, returnValue: CordaFuture<A>)

Properties

Link copied to clipboard
open override val id: StateMachineRunId

The started state machine's ID.

Link copied to clipboard
open override val returnValue: CordaFuture<A>

A CordaFuture of the flow's return value.

Functions

Link copied to clipboard
open override fun close()

Use this function for flows whose returnValue is not going to be used, so as to free up server resources.