Hello, everybody! Has anyone incorporated Flow int...
# multiplatform
d
Hello, everybody! Has anyone incorporated Flow into their multiplatform library? I know how to consume in JVM/Android but I don’t know how to use it JS. I'm utilizing the generated JS as an NPM package in another web project. Could someone assist me with the syntax in JS? Is Flow supported in JS?
j
Havent tested yet, but from my understanding you convert kotlin coroutines to Promises. See https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/promise.html