sendAndWait

open override fun <C : Any> sendAndWait(command: CommandMessage<C>, waitPlan: WaitPlan): Mono<CommandResult>

Sends a command and waits for the result of the waited stage.

Throws

if admission fails, the command bus rejects the command, or the command failed.

if waitPlan does not support a void command.