pending

abstract suspend fun pending(type: AggregateType, revision: Int, after: AggregateRef? = null, limit: Int): List<AggregateRef>

The refs of type's snapshots a rebuild at state revision has to rewrite: those of another state revision, and those marked stale; at most limit of them, in key order (tenant, then aggregate id, by code point), after after when it is given.