AccessSnapshots

Rewrites the snapshot of an aggregate from its whole log (EventStreamRecords from version 1), already replayed as its state: the access walk's share of the snapshots, which carry the attributes of the state they hold.

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend fun rewrite(ref: AggregateRef, streams: List<EventStreamRecord>, state: CachedState)