Open
Description
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Generator
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function*
I think this would enable suspension and thus implementation of coroutines directly in Scala.js (i.e. without needing a monadic datatype and a runtime interpreter of said datatype).