Snapshot

Represents a snapshot of a state aggregate at a specific point in time. Snapshots are used to optimize loading by providing a starting point for event replay.

Type Parameters

S

the type of the state

Inheritors

Functions

Link copied to clipboard
fun <S : Any, D : Any> Snapshot<S>.materialize(materialize: (S) -> D): MaterializedSnapshot<D>