net.corda.core.flows / FlowStateMachine / receive

receive

abstract fun <T : Any> receive(otherParty: Party, receiveType: Class<T>, sessionFlow: FlowLogic<*>): UntrustworthyData<T>