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

Florian Bösch pyalot at gmail.com
Sun Feb 26 13:24:34 UTC 2017


On Sun, Feb 26, 2017 at 2:17 PM, Codefined <codefined at debenclipper.com>
wrote:

> Because `d()` is no longer an asynchronous function, you can call it like
> normal, surely?
>

Only async functions can await. Only await pauses execution to wait on
async.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170226/cbf4774d/attachment.html>


More information about the es-discuss mailing list