dimsuz
01/31/2020, 4:36 PMsend
is a suspending function and as such not usable from Swift/ObjC.
Are there docs about this which I've missed?
I see a lot of tutorials for iOS concurrency, but a little about this kind of interop.
Not sure if this is the right channel as it is both about #coroutines and #multiplatformaudriusk
01/31/2020, 4:54 PMoffer
method is not suspending.
Also I don't think it's good idea to expose ConflatedBroadcastChannel
to UI. Its seams more like implementation detail for state management. After a year you might want to change to something else then ConflatedBroadcastChannel
and then all UI will have to be refactored.dimsuz
01/31/2020, 5:00 PMoffer
seems to be what I needed, how could I miss that? Thanks )