I’m working on a library where I’m doing some work with coroutines.
I would like to pass some events to the code that will use the library and I’m wondering about what could be a proper way to do it. Is using a Channel the recommended way for this?
If I’m not mistaken a ConflatedBroadcastChannel should work pretty much like a BehavioralSubject in RxJava, am I on the right direction?
submitted by /u/astro1066
[link] [comments]