“In asynchronous code flows, it is commonplace to execute two or more tasks concurrently. While Async Functions make it easier to write asynchronous code, they also lend themselves to code that is serial. That is to say: code that executes one operation at a time. A function with multiple await expressions in it will be suspended once at a time on each await expression until that Promise is settled, before unsuspending execution and moving onto the next await expression – not unlike the case we observe with generators and yield.”

Annotation

Heres the actual proposal from TC39 -  https://tc39.github.io/ecmascript-asyncawait/

Explore more quotes:


About the author

This page was created by our editorial team. Each page is manually curated, researched, collected, and issued by our staff writers. Quotes contained on this page have been double checked for their citations, their accuracy and the impact it will have on our readers.

Kelly Peacock is an accomplished poet and social media expert based in Brooklyn, New York. Kelly has a Bachelor's degree in creative writing from Farieligh Dickinson University and has contributed to many literary and cultural publications. Kelly assists on a wide variety of quote inputting and social media functions for Quote Catalog. Visit her personal website here.

Kendra Syrdal is a writer, editor, partner, and senior publisher for The Thought & Expression Company. Over the last few years she has been personally responsible for writing, editing, and producing over 30+ million pageviews on Thought Catalog.