send

abstract suspend fun send(command: Command)(source)

Sends a Command to the gateway, suspending until the message has been sent.

Parameters

command

the Command to send to the gateway.

Throws

when the gateway isn't open/