sendAllMap

@Suspendable
abstract fun sendAllMap(payloadsPerSession: Map<FlowSession, Any>)

Queues the given payloads for sending to the provided sessions and continues without waiting for a response.

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 session expires. Sessions are deemed to be expired when this session stops receiving heartbeat messages from the counterparty within the configurable timeout.

Parameters

payloadsPerSession

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

Throws

CordaRuntimeException

if any session is closed or in a failed state.