send

suspend fun send(command: Command<*>, wait: WaitContext? = null, replyTo: ReplyTo? = null, actingTenant: String? = null)

Sends command to its context's command topic, with wait and the replyTo of a rejection, sent for the actingTenant (CommandWire.actingTenant).


suspend fun send(wire: CommandWire, wait: WaitContext? = null)

Sends wire, a command already in its wire form and named (a timer's), to its context's command topic, with wait.