I was wondering, what's the current way to create ...
# coroutines
k
I was wondering, what's the current way to create a coroutine on JS? there are no builders if I'm not mistaken. Should I write my own oder can I just get away with making my
main
function
suspend
?
k
You can create your own builder, it's quite simple
k
thanks
g
btw there is an issue about support of suspend main functions, vote up 👍 https://youtrack.jetbrains.com/issue/KT-17679