send

abstract fun send(payload: Any, maySkipCheckpoint: Boolean)

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.


abstract fun send(payload: Any)

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.