async/await -> await/async: a simpler, less error-prone async syntax

Florian Bösch pyalot at gmail.com
Thu Dec 7 15:06:42 UTC 2017


On Thu, Dec 7, 2017 at 2:34 PM, Naveen Chawla <naveen.chwl at gmail.com> wrote:

> How has using async await made you type more? Can you give an example? I
> suspect you're not using it in the way it was intended to be
>

See example OP pasted. It's nothing but async/await. It doesn't add any
semantic, syntactic or logic thing to the code. It could be 4 white-spaces
and you'd not loose any meaning.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20171207/328424cf/attachment.html>


More information about the es-discuss mailing list