Enable async/await to work on functions that don't just return promises.

Florian Bösch pyalot at gmail.com
Sun Feb 26 16:35:04 UTC 2017

On Sun, Feb 26, 2017 at 5:30 PM, Codefined <codefined at debenclipper.com>

> I'll be interested to see what you guys consider the
> advantages/disadvantages of this method, which I hope to be "the middle
> between two ends" on whether to go fully into promises or fully into
> co-routines.  Neither of which are in my opinion the optimal stance.

Hereabouts nobody's going to either full co-routines or even semi-implicit
co-routines. But JS doesn't matter, just compile to asm.js/WebAssembly or
write a bytecode engine atop JS etc. from a language that actually solves
concurrent programming well and isn't a hodgepodge of missed opportunities.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170226/1ab24f4b/attachment.html>

More information about the es-discuss mailing list