Read Blogs

The JavaScript Promise API Has Features You’ve Never Used — And They’re Exactly What You Need

Promise.any, Promise.allSettled, Promise.race with AbortController, unhandledRejection trapping, Promise combinators for rate-limited APIs, and the upcoming Promise.withResolvers() — the complete Promise toolkit that goes way beyond async/await. Most JavaScript developers use three things from the Promise API: new Promise(), async/await, and occasionally Promise.all(). The rest of… Read More »The JavaScript Promise API Has Features You’ve Never Used — And They’re Exactly What You Need