45 lines
742 B
Markdown
45 lines
742 B
Markdown
# Chapter 13. Asynchronous JavaScript
|
|
|
|
## 13.1 Asynchronous Programming with Callbacks
|
|
|
|
### 13.1.1 Timers
|
|
|
|
### 13.1.2 Events
|
|
|
|
### 13.1.4 Callbacks and Events in Node
|
|
|
|
## 13.2 Promises
|
|
|
|
### 13.2.1 Using Promises
|
|
|
|
### 13.2.2 Chaining Promises
|
|
|
|
### 13.2.3 Resolving Promises
|
|
|
|
### 13.2.4 More on Promises and Errors
|
|
|
|
### 13.2.5 Promises in Parallel
|
|
|
|
### 13.2.6 Making Promises
|
|
|
|
### 13.2.7 Promises in Sequence
|
|
|
|
## 13.3 async and awit
|
|
|
|
### 13.3.1 await Expression
|
|
|
|
### 13.3.2 async Functions
|
|
|
|
### 13.3.3 Awaiting Multiple Promises
|
|
|
|
### 13.3.4 Implementation Details
|
|
|
|
## 13.4 Asynchronous Iteration
|
|
|
|
### 13.4.1 The for/await Loop
|
|
|
|
### 13.4.2 Asynchronous Iterators
|
|
|
|
### 13.4.3 Asynchronous Generators
|
|
|
|
### 13.4.4 Implementing Asynchronous Iterators |