StateEventCompensator
constructor(stateAggregateFactory: StateAggregateFactory, eventStore: EventStore, stateEventBus: StateEventBus)
Creates a new StateEventCompensator with the specified dependencies
Parameters
stateAggregateFactory
The factory for creating state aggregates
eventStore
The event store to use for loading events
stateEventBus
The state event bus to use for sending compensated events