corda / net.corda.core.flows / FlowSession / send

send

@Suspendable abstract fun send(payload: Any, maySkipCheckpoint: Boolean): Unit

Queues the given payload for sending to the counterparty and continues without suspending.

Note that the other party may receive the message at some arbitrary later point or not at all: if counterparty is offline then message delivery will be retried until it comes back or until the message is older than the network's event horizon time.

Parameters

maySkipCheckpoint - setting it to true indicates to the platform that it may optimise away the checkpoint.

@Suspendable abstract fun send(payload: Any): Unit

Queues the given payload for sending to the counterparty and continues without suspending.

Note that the other party may receive the message at some arbitrary later point or not at all: if counterparty is offline then message delivery will be retried until it comes back or until the message is older than the network's event horizon time.