async javascript

Using async/await in ExpressJs

Using async/await in ExpressJs

  • August 6, 2020

If you have not been living under a rock for the past few years, you probably have heard of async/await. It has been one of the interesting additions to EcmaScript. It makes control flow easier to understand and read and also allows to write concise, maintainable code. If you need...

JavaScript Promise combinators: race, all, allSettled, any

JavaScript Promise combinators: race, all, allSettled, any

  • December 3, 2019

Promises have not been a new concept in the javascript community. They have existed in the ecosystem for a long time. JavaScript promises existed even before they were officially made a part of the ECMAScript spec in ES6. These initial implementations of JavaScript promise were in the form of framework...