- ECMAScript Cookbook
- Ross Harrison
- 32字
- 2021-08-27 19:27:38
Creating and waiting for Promises
Promises provide a way to compose and combine asynchronous functions in an organized and easier to read way. This recipe demonstrates a very basic usage of promises.