Package-level declarations
Types
Functions
Link copied to clipboard
suspend fun waitForVersion(checkMillis: Long = 10, timeoutMillis: Long, version: Long, versionSource: suspend () -> Long?)
Polls versionSource until it observes at least aggregate version.
Link copied to clipboard
suspend fun <T> waitForVersionAndResult(checkMillis: Long = 10, timeoutMillis: Long, version: Long, versionSource: suspend () -> Versioned<T>?): T
Polls until versionSource returns a value projected through at least version.