sendAndWaitForProcessed

Sends a command and waits until it is fully processed by the aggregate.

This convenience method waits for the command to be validated, executed by the aggregate, and for any resulting events to be published.

Return

a Mono emitting the CommandResult when processing is complete

Parameters

C

the type of the command

command

the command message to send

See also