Async Code in Node.js: Callbacks and Promises
Overview
We all know that JavaScript is a single-threaded language, and due to that, when a time-consuming task like file read/write or making a web request can block the whole thread, we can encounte
blog.studyhex.in3 min read