EventSourcingStateAggregateRepository

constructor(stateAggregateFactory: StateAggregateFactory, snapshotRepository: SnapshotRepository, eventStore: EventStore)

Parameters

stateAggregateFactory

Factory for creating new state aggregate instances.

snapshotRepository

Repository for loading and storing aggregate snapshots.

eventStore

Store for retrieving event streams associated with aggregates.