Frontend
Armory
Blog
Demoboard
Learning Resources
Frontend
Armory
Blog
Demoboard
Learning Resources
Go Pro
Log In
Error-first callbacks
Mastering Async JavaScript
Promises
Why async, anyway?
Free Preview
What are promises?
Making promises
Responding to promises
A spoonful of sugar
Chaining promises
Flattening callback pyramids
Free Preview
Combining promises
Hotdog / Not Hotdog
A word on scheduling
Promises
Async functions
The await operator
Free Preview
Error handling with try/catch
Flattening promise chains
Sequential vs. Parallel
Promises to async/await
Promises
Error-first callbacks
The error-first convention
Converting to promises
Promise-based filesystem access in Node.js
Async/await compatibility
Polyfilling promises
Cheatsheet