state

abstract suspend fun state(id: String): Snapshot<S>?

The latest committed state of the aggregate id in the queries' tenant, as state of a ref reads it.


abstract suspend fun state(id: String, minVersion: Int): Snapshot<S>?

The committed state of the aggregate id at version minVersion or later, as state of a ref reads it.