AggregateEventStoreExposed
class AggregateEventStoreExposed<EVENT : Any, EVENT_PERSISTED : Any>(aggregateTypes: EventTypeNames.ForAggregate<EVENT>, database: Database, codec: Codec<EVENT, EVENT_PERSISTED>, tableConfig: EventTableConfig = EventTableConfig()) : AggregateEventStore<EVENT> (source)
Constructors
Link copied to clipboard
constructor(aggregateTypes: EventTypeNames.ForAggregate<EVENT>, database: Database, codec: Codec<EVENT, EVENT_PERSISTED>, tableConfig: EventTableConfig = EventTableConfig())
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun readAggregateEvents(aggregateId: String, afterVersion: Long?, maxCount: Long?): AggregateEventReadResult<EVENT>