AggregateEventStoreRead

Reads ordered event history from aggregate streams.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun readAggregateEvents(aggregateId: String, afterVersion: Long? = null, maxCount: Long? = null): AggregateEventReadResult<EVENT>

Reads committed events for aggregateId strictly after afterVersion, optionally limited by maxCount.