Join Slack
Powered by
How does one actually enable this? <https://kotlin...
# javascript
s
shikhar
06/15/2025, 3:33 AM
How does one actually enable this?
https://kotlinlang.org/docs/whatsnew20.html#suspend-functions-as-es2015-generators
Couldn’t find any docs. Is it enabled by default when we set compilation target to es2015?
e
Edoardo Luppi
06/15/2025, 9:33 AM
Yes, it's enabled by default with ES2015, but you can also activate it with the compiler argument
-Xes-generators
2
Views
Open in Slack
Previous
Next