AggregateEventStoreKurrent
class AggregateEventStoreKurrent<EVENT : Any, EVENT_PERSISTED : Any>(aggregateTypes: EventTypeNames.ForAggregate<EVENT>, client: KurrentDBClient, codec: Codec<EVENT, EVENT_PERSISTED>, streamPrefix: String = DEFAULT_KURRENT_STREAM_PREFIX) : AggregateEventStore<EVENT> (source)
Constructors
Link copied to clipboard
constructor(aggregateTypes: EventTypeNames.ForAggregate<EVENT>, client: KurrentDBClient, codec: Codec<EVENT, EVENT_PERSISTED>, streamPrefix: String = DEFAULT_KURRENT_STREAM_PREFIX)
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun readAggregateEvents(aggregateId: String, afterVersion: Long?, maxCount: Long?): AggregateEventReadResult<EVENT>