SimpleSnapshot
data class SimpleSnapshot<S : Any>(val delegate: ReadOnlyStateAggregate<S>, val snapshotTime: Long = System.currentTimeMillis()) : Snapshot<S> , ReadOnlyStateAggregate<S> , Decorator<ReadOnlyStateAggregate<S>>
Simple implementation of Snapshot that wraps a ReadOnlyStateAggregate with a snapshot time.
Parameters
delegate
the state aggregate being snapshotted
snapshotTime
the time when the snapshot was taken (default: current time)