DefaultRecoverAggregateFunction

constructor(commandAggregate: CommandAggregate<C, *>, afterCommandFunctions: List<AfterCommandFunction<C>>)

Parameters

C

The type of the command aggregate root.

commandAggregate

The command aggregate instance this function belongs to.

afterCommandFunctions

List of after-command functions to execute after recovery.