corda / net.corda.core.flows / FlowLogic / initiateFlow

initiateFlow

@Suspendable fun initiateFlow(party: Party): FlowSession

Creates a communication session with party. Subsequently you may send/receive using this session object. Note that this function does not communicate in itself, the counter-flow will be kicked off by the first send/receive.