Hey guys. Why kotlin native supports only single-t...
# kotlin-native
g
Hey guys. Why kotlin native supports only single-threaded code for coroutines? Is it temporary?
k
It is temporary. There is a more experimental version you can use for multiple threads, but I’ll have to explain a bit later (meeting …)
s
Does
withContext
just not exist on K/N?
d
Not on
master
, it's been implemented in the
native-mt
branch.
s
Oof big yikes for I/O
Is there a release targeted for that support?
d
Oops, s/being/been/.
It's on bintray.
s
So what dispatcher do you use for IO on K/N, if you’re on that branch.
d
Hmm, that's a tricky one. I'll let @kpgalligan answer that one.