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

vitrox1

09/04/2018, 1:03 PM
hi guys, someone knows how to close a subscription from ConflatedBroadcastChannel properly? in my case for some unmanaged android behavior we openSubscription() many times so we’re creating a lot of those
we already tried with var compositeDisposable = Job() and canceling the job, but is just not working neither in that way
l

louiscad

09/04/2018, 1:07 PM
@vitrox1
consume
or
consumeEach
v

vitrox1

09/04/2018, 1:09 PM
consumeeach
problem solved I was just having nested coroutines and then i was canceling only one of those.