EventSourcingStateAggregateRepository

constructor(stateAggregateFactory: StateAggregateFactory, snapshotStore: SnapshotStore, eventStore: EventStore)

Parameters

stateAggregateFactory

Factory for creating new state aggregate instances.

snapshotStore

Store for loading and storing aggregate snapshots.

eventStore

Store for retrieving event streams associated with aggregates.