Proposal to add keyword "nowait"

T.J. Crowder tj.crowder at
Mon Feb 12 10:34:08 UTC 2018

On Mon, Feb 12, 2018 at 10:28 AM, Александр Ефремов <mr.efrem at>

> Hm, yes, you are right.
> That’s
> Thank you very much.
> In the next I will be more dig.

That just warns you if you've made a function `async` pointlessly (which
may or may not be because you forgot an `await`). It won't help you if you
have at least one `await` but have forgotten *others*.

Static analysis (such as done by ESLint) cannot perfectly solve the problem
you and Steven Mascaro are trying to solve: Forgetting `await`s in all
necessary locations in an `async` function.

-- T.J. Crowder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list