wait

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

Sends command to the aggregate id names, and waits for its result (CommandClient.wait).