snapshots

fun snapshots(type: AggregateType, vararg states: Pair<String, Any>, tenantId: String = Caller.DEFAULT_TENANT): MemoryQueries

Holds each of states, an aggregate id to its state, as a snapshot of type in tenantId; see snapshot.