waitForVersion
suspend fun waitForVersion(checkMillis: Long = 10, timeoutMillis: Long, version: Long, versionSource: suspend () -> Long?)(source)
Polls versionSource until it observes at least aggregate version.
This is a read-your-writes synchronization utility for eventually updated views. Transient source exceptions are ignored until timeout; it does not affect event-store consistency or checkpoints.