SnapshotManifest
class SnapshotManifest @InternalWowApi constructor(val enabled: Boolean = true, val stateRevision: Int = 1)
Whether the aggregate keeps snapshots (enabled), and the revision of its state's structure the snapshots are written at (stateRevision): raised, the service rebuilds the stored snapshots in place. It keeps no breaking change of the state compatible: every aggregate's state has readers besides the service, the clients of its state read at least, who read it as its schema says.
Fields may be added: pass the constructor's arguments by name.
Functions
Link copied to clipboard
fun SnapshotManifest.copyWith(enabled: Boolean = this.enabled, stateRevision: Int = this.stateRevision): SnapshotManifest