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

commandAggregate

The command aggregate instance.

afterCommandFunctions

List of after-command functions to execute.

Type Parameters

C

The type of the command aggregate.