Joe
fun <T> ConflatedBroadcastChannel<T>.valueOrWait(): T { while (true) { val result = this.valueOrNull if (result != null) { return result } } }