I propose that all the calls to any async function will be implicit (without the need of the await keyword). And precede it with a nowait only when you want a promise.
See this snipped proposal: https://gist.github.com/jbaylina/692d4e43329c8c0d22dd This way, the code will not have the async clutter in the logic of the function, but will be need to be declared async advising the programmer that the code will not be executed atomically. This proposal does not change the logics of the async/await proposal. It only change the way to call async functions. What is now implicit make them explicit with nowait and what is explicit with await make it implicit.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

