MonoCommandWaitNotifier
A Mono wrapper that automatically notifies wait strategies when command processing completes. This class intercepts the completion of a Mono
Parameters
The type of message exchange.
The type of message in the exchange.
The notifier used to send wait signals.
The command processing stage being notified.
The message exchange containing processing context.
The original Mono
Constructors
Functions
Ensures the exchange is acknowledged after Mono completion, even on error.
Extension function to log errors and resume with empty Mono.
Extension function that wraps a Mono
Executes a runnable after this Mono completes successfully.
Extension function that makes a Mono blockable by scheduling it on a separate thread if needed. If the current thread is non-blocking (reactive), it subscribes the Mono on the provided scheduler. If already on a blocking thread, returns the Mono unchanged.