CommandFunction

constructor(delegate: MessageFunction<C, ServerCommandExchange<*>, Mono<*>>, commandAggregate: CommandAggregate<C, *>, afterCommandFunctions: List<AfterCommandFunction<C>>)

Creates a new CommandFunction with the specified delegate and configuration.

Parameters

C

The type of the command aggregate.

commandAggregate

The command aggregate instance.

afterCommandFunctions

List of after-command functions to execute.