Proposal to add keyword "nowait"
Алексей
agat00 at gmail.com
Mon Feb 12 11:48:54 UTC 2018
I think it should not be hard to implement at least for explicitely async
functions. Of course it will miss non-async that return promises. But you
can mark them as async. For example we are doing on each function that
could return promise even if it doesn't use await. But even without it that
should hit most of missed await errors
2018-02-12 13:34 GMT+02:00 Александр Ефремов <mr.efrem at gmail.com>:
> I’m not sure that it will be simply to implement. Because not all possible
> to analyze without execution. I offer to use `nowait` there where calls
> will return promise, but it i’m not sure that promises always can detect
> just via parsing of source code.
> _______________________________________________
> 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/20180212/4a0d82f4/attachment.html>
More information about the es-discuss
mailing list