Dealing with multiple Promises in JavaScript

Edvinas Daugirdas
Nov 6 · 6 min read
Photo by Andrew Seaman on Unsplash

ECMAScript 2015 introduced Promises into JavaScript world — the days of callback hell were over. We adopted them quickly and soon you could see promises almost in every new code base.

If you’re like me you’re working with promises on a daily basis — you’re fetching resources, maybe you’re dealing with a library that uses them or maybe you have your own little functions that need to…

Keep the story going. Sign up for an extra free read.

Edvinas Daugirdas

Written by

Senior Software Engineer at Mynt.se

The Startup

Medium's largest active publication, followed by +542K people. Follow to join our community.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade