Proposal to add keyword "nowait"

Алексей agat00 at
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>:

> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list