Hi. Is there any progress on issue KT-19672? I w...
# javascript
n
Hi. Is there any progress on issue KT-19672? I want to use Kotlin for a web front-end project, but the lack of Promises is a problem.
k
Can you use coroutines instead of promises?
Did you try with 1.2-RC?
n
I’m not using 1.2
I’ll give that a go
since I want a multiplatform project as well
I’ve not tried coroutines, but I’d still need to hook the coroutines to the promise callbacks, and don’t know if that’s possible with the incorrect definition of the Promise API in the Kotlin library
k
Current definition of Promise is enough to hook them with coroutines
n
Ok. I’ll take a look at that
n
Thanks