Pat Teruel
07/07/2023, 5:05 AM@JSExport
on underlying classes with suspend functions, I can’t. it gives me:
Declaration of such kind (suspend function) can't be exported to JS
Now I’m confused. I’m using Kotlin 1.7.2, btw. Do I need to convert ALL, as in ALL, of the Suspend functions into Promise?Adam S
07/07/2023, 5:30 AM@JsExport
suspend functions
https://youtrack.jetbrains.com/issue/KT-56281/KJS-Cant-export-suspend-functionsephemient
07/07/2023, 5:49 AMkotlin.js.Promise
Adam S
07/07/2023, 5:49 AMPromise<>
https://github.com/ForteScarlet/kotlin-suspend-transform-compiler-pluginPat Teruel
07/07/2023, 5:57 AMxxfast
07/07/2023, 7:54 AM@JSExport
is super limited (and has been for years) unfortunately 😞