Proposal to add keyword "nowait"

Michał Wadas michalwadas at
Mon Feb 12 11:24:32 UTC 2018

I would solve such issue by having transpile step that inserts assertions
everywhere in dev enviroment (and don't add them in production env).

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

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

More information about the es-discuss mailing list