ProducerScope
Scope for the produce, callbackFlow and channelFlow builders.
Properties
Link copied to clipboard
A reference to the channel this coroutine sends elements to. It is provided for convenience, so that the code in the coroutine can refer to the channel as channel
as opposed to this
. All the SendChannel functions on this interface delegate to the channel instance returned by this property.