https://kotlinlang.org logo
#coroutines
Title
# coroutines
i

ivan.savytskyi

08/29/2019, 6:22 PM
Hey folks, is there any easy way to auto close the BroadcastChanel as soon as the last subscribed channel is closed?
🚫 2
p

Pere Casafont

08/29/2019, 6:40 PM
The event of having 0 subscribers isn't necessarily a "close" event... I'm afraid you will have to handle it manually
g

gildor

08/30/2019, 12:05 AM
It will be available in Flow with share() operator, nothing ready yet
3 Views