Join Slack
Powered by
Why isnt `finally` present on `Promise` in kotlin-...
# javascript
s
spand
04/11/2019, 12:12 PM
Why isnt
finally
present on
Promise
in kotlin-js-stdlib ?
g
gildor
04/12/2019, 7:15 AM
Because it’s a new API (still in Draft, tho supported by most browsers) and Kotlin has only ES5 APIs
gildor
04/12/2019, 7:16 AM
You can write extension function that fixes it
s
spand
04/12/2019, 7:34 AM
Ofcourse 🤦♂️ Need some better google fu for all things javascript it seems
spand
04/12/2019, 7:34 AM
Thanks
2
Views
Open in Slack
Previous
Next