MonoCommandWaitNotifier
class MonoCommandWaitNotifier<E : MessageExchange<*, M>, M : Message<*, *>, CommandId, NamedBoundedContext, AggregateIdCapable>(commandWaitNotifier: CommandWaitNotifier, processingStage: CommandStage, messageExchange: E, source: Mono<Void>) : Mono<Void>
A Mono wrapper that automatically notifies wait plans when command processing completes. This class intercepts the completion of a Mono
Parameters
commandWaitNotifier
The notifier used to send wait signals.
processingStage
The command processing stage being notified.
messageExchange
The message exchange containing processing context.
source
The original Mono
Type Parameters
E
The type of message exchange.
M
The type of message in the exchange.
Constructors
Link copied to clipboard
constructor(commandWaitNotifier: CommandWaitNotifier, processingStage: CommandStage, messageExchange: E, source: Mono<Void>)