AfterCommandFunction
class AfterCommandFunction<C : Any>(val metadata: AfterCommandFunctionMetadata<C>, val delegate: MessageFunction<C, ServerCommandExchange<*>, Mono<*>>) : MessageFunction<C, ServerCommandExchange<*>, Mono<*>> , Decorator<MessageFunction<C, ServerCommandExchange<*>, Mono<*>>> , Ordered
Represents an after-command function that executes after command processing.
This class wraps a message function with metadata about which commands it should execute for, providing ordering and decoration capabilities.
Type Parameters
C
The type of the command aggregate.
Constructors
Link copied to clipboard
constructor(metadata: AfterCommandFunctionMetadata<C>, delegate: MessageFunction<C, ServerCommandExchange<*>, Mono<*>>)
Creates a new AfterCommandFunction with the specified metadata and delegate.