deliver

fun deliver(message: M)(source)

Non-suspending message insertion. If a process is currently suspended in receiveMessage with a matching predicate, hand the message directly to that waiter and resume it. Otherwise queue the message in pending and fire any registered arrival listeners. Once the replication's events have ended (a message sent from replicationEnded()), nothing can be resumed: the message is queued, and no waiter or arrival listener is offered it.