As programmers we all face it one day or another: asynchronous programming (A.K.A. non-blocking programming) ain’t easy. Fortunately JavaScript is one of the few programming languages where it’s actually nicely implemented (since a few years at least). That’s why I propose you today to see some more advanced techniques than simply sending an HTTP request and waiting for the response.

Image for post
Image for post
Photo by Markus Spiske on Unsplash

This article is for JavaScript programmers that have some understanding of promises and the async/await syntax and would like to know more, if you have trouble understanding it I can recommend you Mozilla’s course. It contains examples using the modern-async open source library. …


Nicolas Vanhoren

Developer since too many years, loving father, human among others.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store