Decider Command Handler Adapter
constructor(decider: Decider<CMD, EVENT>, aggregateTypeConfiguration: AggregateTypeConfiguration, eventStore: EventStore)
Parameters
decider
the decider instance
aggregate Type Configuration
The AggregateTypeConfiguration that matches the dk.cloudcreate.essentials.components.eventsourced.eventstore.postgresql.eventstream.AggregateType that the decider can work with
event Store
The EventStore that can fetch and persist Events