Why Actors is not multiplataform ?
# coroutines
s
Why Actors is not multiplataform ?
s
Probably because it is
@ObsoleteCoroutinesApi
s
Anything that replace it?
s
A. You can make your own actors, you just need an input channel and a sealed payload class B. https://github.com/Kotlin/kotlinx.coroutines/issues/87
d
Actors require `Channel`s which aren't multi-platform yet.
s
Are you sure? Channels resolve fine in common for me
d
Oh? iirc They don't work on native.
g
They do
s
Any alternative to Actor for multiplataform without rewrite him for multiplataform? Actor is absolute, right? Any new API experimental for do something like Actor?
s
No. You'll have to write it yourself.