Hi, I’m looking for clarification on the stability of the
channelFlow coroutines API. In Kotlin 1.5.0, the
channelFlow API was made stable:
public fun <T> channelFlow(@BuilderInference block: suspend ProducerScope<T>.() -> Unit): Flow<T> = ChannelFlowBuilder(block)
ProducerScope API used as a lambda parameter argument remains experimental.
My question is; doesn’t this severely limit the utility of
channelFlow if it’s not possible to use the
send function supplied by the experimental
ProducerScope without using experimental features? Am I missing something? Any answers appreciated!