Proposal to add keyword "nowait"
Peter Jaszkowiak
p.jaszkow at gmail.com
Mon Feb 12 05:44:29 UTC 2018
This certainly doesn't sound backwards compatible. Also, this is something
that type checking systems (like typescript and flow) are very good at
catching.
On Feb 11, 2018 22:41, "Александр Ефремов" <mr.efrem at gmail.com> wrote:
> Sometimes when create the async functions forget to add await and later
> such mistake difficult to find.
> Maybe would be better always demand to add keyword nowait to calls
> returning promises which we don't plan to wait. But if this keyword and
> await keyword no exists then throw the error.
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180211/f5f87ca5/attachment.html>
More information about the es-discuss
mailing list