FlowHandle - corda

corda / net.corda.core.messaging / FlowHandle

# FlowHandle

`@DoNotImplement interface FlowHandle<A> : AutoCloseable`

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

### Properties

#### id | The started state machine's ID. `abstract val id: StateMachineRunId`
#### returnValue | A CordaFuture of the flow's return value. `abstract 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. `abstract fun close(): Unit`

### Inheritors

#### FlowHandleImpl | `data class FlowHandleImpl<A> : FlowHandle<A>`
#### FlowHandleWithClientId | `interface FlowHandleWithClientId<A> : FlowHandle<A>`
#### FlowProgressHandle | FlowProgressHandle is a serialisable handle for the started flow, parameterised by the type of the flow's return value. `interface FlowProgressHandle<A> : FlowHandle<A>`