ConditionalValue
A coroutine-based conditional waiter backed by MutableStateFlow.
Holds a value of type T and allows coroutines to suspend until the value satisfies an arbitrary predicate, with optional timeout support.
Parameters
initValue
the initial value.
Type Parameters
T
the type of the monitored value.