Concept · Technical basics

Promise chain

Also called: promise chains, promises, then chain, async await

A way of writing code for steps that take time, such as network requests, so each step starts when the one before it finishes.

For example: Code fetches a user, then their orders, then the shipping status, each in turn, as one promise chain.

Connects to 3

Page last changed · Suggest a correction