Elevator Pitch
This is a comparison of different methods for performing asynchronous control flow in JavaScript, specifically Callbacks, Promises, Generators / Yields (ES2015), and Async / Await (ES2016).
Description
This is a comparison of different methods for performing asynchronous control flow in JavaScript, specifically Callbacks, Promises, Generators / Yields (ES2015), and Async / Await (ES2016).
We will explore a simple code example as it applies to each of these different “phases” of asynchronous control flow. Finally we’ll examine how Async functions are just Promises under the hood and that the two are interoperable.
Notes
Here is the slide deck: https://thomashunter.name/presentations/async-await-javascript-v2/
This is adaptation of a popular blog post of mine by the same title: https://thomashunter.name/blog/the-long-road-to-asyncawait-in-javascript/
This talk was first given at NodeConf Argentina 17.
Here’s a list of other talks I’ve given: https://thomashunter.name/talks