So just to close the loop, this didn’t offer exact...
# coroutines
j
So just to close the loop, this didn’t offer exactly what I was looking for out of the box, but a small extension method got me there:
Copy code
fun <T> ConflatedBroadcastChannel<T>.valueOrWait(): T {
    while (true) {
        val result = this.valueOrNull
        if (result != null) {
            return result
        }
    }
}