DeciderCommandHandlerAdapter

constructor(decider: Decider<CMD, EVENT>, aggregateTypeConfiguration: AggregateTypeConfiguration, eventStore: EventStore)

Parameters

decider

the decider instance

aggregateTypeConfiguration

The AggregateTypeConfiguration that matches the dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.eventstream.AggregateType that the decider can work with

eventStore

The EventStore that can fetch and persist Events