© Russ Ferguson and Keith Cirkel 2017

Russ Ferguson and Keith Cirkel, JavaScript Recipes, 10.1007/978-1-4302-6107-0_21

21. Working with Asynchronous Control Flow and Promises

Russ Ferguson and Keith Cirkel2

(1)Ocean, New Jersey, USA

(2)London, UK

What Is Asynchronous Control Flow?

Caution

Let variables and arrow functions are ES6 features. Older browsers still in use, such as Internet Explorer 11 and below, or Safari 7 and below, do not support these features. Check out http://kangax.github.io/es5-compat-table/es6/ for the current compatibility charts.

Problem

You want a better understanding of asynchronous control flow.

Solution

Asynchronous control flow is the name of a set of patterns to help control the order of execution of asynchronous code. To ...

Get JavaScript Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.