positionOf

abstract suspend fun positionOf(ref: AggregateRef, version: Int): LogPosition?

The position of ref's stream at version, or null when there is none. A duplicate request uses it to tell whether a subscription's checkpoint has passed the stream committed for it.