corda / net.corda.core.flows / FlowLogic / sendAllMap

sendAllMap

@Suspendable @JvmOverloads fun sendAllMap(payloadsPerSession: Map<FlowSession, Any>, maySkipCheckpoint: Boolean = false): Unit

Queues the given payloads for sending to the provided sessions and continues without suspending.

Note that the other parties may receive the message at some arbitrary later point or not at all: if one of the provided sessions is offline then message delivery will be retried until the corresponding node comes back or until the message is older than the network's event horizon time.

Parameters

payloadsPerSession - a mapping that contains the payload to be sent to each session.

maySkipCheckpoint - whether checkpointing should be skipped.