singularity

Asynchronous JavaScript

What does asynchronous mean?

Asynchronous JavaScript

Problems with callbacks

What is an event loop?

Promise states

Promise instance methods

Creating promises

Using promises with callback-based API

Promise specification

Promise vs thenable

then promise

catch promise

finally promise

Making sense of promise chaining

Rejection handler in then vs catch

Concurrent requests

Request timeout

async functions

await keyword

Multiple await expressions

Error handling

Returning vs awaiting promise

Awaiting non-promise value

Unnecessary use of the Promise Constructor

Incorrect Error Handling

Converting promise rejection into fulfillment

Async executor function