net.corda.core.flows / FlowLogic / receive

receive

inline fun <reified T : Any> receive(otherParty: Party): UntrustworthyData<T>
fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T>