corda / net.corda.core.messaging / FlowHandleImpl

FlowHandleImpl

data class FlowHandleImpl<A> : FlowHandle<A>

Constructors

<init>

FlowHandleImpl(id: StateMachineRunId, returnValue: CordaFuture<A>)

Properties

id

The started state machine's ID.

val id: StateMachineRunId

returnValue

A CordaFuture of the flow's return value.

val returnValue: CordaFuture<A>

Functions

close

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

fun close(): Unit