send

suspend fun CommandClient.send(command: Any, id: String? = null): CommandResult

Sends command to the aggregate id names, its type derived from its class (CommandClient.send).