Enable async/await to work on functions that don't just return promises.
Florian Bösch
pyalot at gmail.com
Sun Feb 26 14:31:18 UTC 2017
await/async are de-facto co-routines. await/async will infect all code by
necessity of software engineering. At which point they're actual
co-routines, implemented badly, without a proper API.
On Sun, Feb 26, 2017 at 3:26 PM, Jerald Cohen <cohenjerald7 at gmail.com>
wrote:
> Florian,
>
> You sure you're not just adding more complexities to a language with
> features that were _meant_ to remove such complexity?
>
> Codefined's solution to me seems to be the one with the least amount of
> added techniques in order to learn. Although I understand how co-rountines
> are awesome, they can quickly get very confusing when you switch contexts.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170226/e95cc871/attachment.html>
More information about the es-discuss
mailing list