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

sdeleuze

04/05/2019, 6:37 AM
Is Coroutines
Flow
usable in multiplatform projects?
It seems it is the case at least in theory since it is available in
kotlinx-coroutines-core/common
but I would like to know if this has been tested, if there are limitations, etc.
l

louiscad

04/05/2019, 6:42 AM
My guess would be that it's quite limited because of coroutines not being multithreaded in native yet, so you would forget
flowOn
or
flowWith
until that is fixed. It should work in JS though, as there's no multithreading there.
👍 1
d

Dico

04/05/2019, 7:08 AM
Why api are you referring to?
v

Vsevolod Tolstopyatov [JB]

04/05/2019, 8:24 AM
Yes, they are written in
common
and (unit) tested on all platforms we support
👌 5
3 Views