
async `do` expressions for JavaScript
The ECMAScript proposal of async do expressions introduces an asynchronous context within synchronous code without the need for an immediately-invoked async function expression. This proposal expands on the do expressions proposal and includes preliminary spec text. It aims to simplify the syntax required for performing a single asynchronous operation within synchronous code by allowing the use of async do {...}.
The ECMAScript proposal of async do expressions offers a more concise and intuitive way to introduce asynchronous operations within synchronous code. By eliminating the need for immediately-invoked async function expressions, developers can perform asynchronous tasks more efficiently with simpler syntax. This feature builds upon the existing do expressions proposal, providing a seamless integration of asynchronous contexts in ECMAScript.
