thenNotifyAndForget
fun <E : MessageExchange<*, M>, M : Message<*, *>, CommandId, NamedBoundedContext, AggregateIdCapable> Mono<Void>.thenNotifyAndForget(commandWaitNotifier: CommandWaitNotifier, processingStage: CommandStage, messageExchange: E): Mono<Void>
Extension function that wraps a Mono
Return
A new Mono that will send notifications when the original Mono completes.
Parameters
commandWaitNotifier
The notifier for sending wait signals.
processingStage
The processing stage to notify about.
messageExchange
The message exchange containing context information.
Type Parameters
E
The type of message exchange.
M
The type of message in the exchange.