AKAshaaf Khaninashaaf.hashnode.dev·May 10 · 5 min readAsync Code in Node.js: Callbacks and PromisesIf you’ve ever tried to read a massive file or fetch data from an API in a traditional programming environment, you might be used to the program "freezing" until the task is done. In Node.js, that sim00
KTKushagra Trivediinkushagrablogs.hashnode.dev·May 9 · 4 min readCallbacks in JavaScript: Why They ExistJavaScript is famous for handling asynchronous operations like: API requests File reading Timers Database queries But before Promises and Async/Await became popular, callbacks were the main way 00
MKMohit Kumarinimohit1o1.hashnode.dev·May 8 · 5 min readCallbacks in JavaScript: Why They ExistFunction ko bhejo, baad mein bulayenge You know functions. You call them, they run. But what if you want a function to run later? After something finishes? That's a callback. Let me explain. Functio00
PParamveerinunderstanding-web-dev.hashnode.dev·May 8 · 6 min readCallbacks in JavaScript: Why They ExistIn this article we are gonna study a very important and one of the most frequently used concept in JavaScript. You would read multiple documentations in your programming journey which either require/r00
AKAshaaf Khaninashaaf.hashnode.dev·May 7 · 4 min readCallbacks in JavaScript: Why They ExistIf you’ve ever ordered a coffee and been handed a buzzer that vibrates when your latte is ready, you’ve experienced a callback in real life. Instead of standing at the counter staring at the barista (00
HSHappy singh negiinhappysinghnegi.hashnode.dev·May 5 · 2 min readAsync Code in Node.js: Callbacks and PromisesJavaScript execute the code synchronously and asynchronously. sync code block the main thread but async does not in this blog we are going to cover about async code in node.js Why async code exists in00
SPSaurav Pratap Singhinsaurav26.hashnode.dev·Apr 26 · 7 min readCallbacks and Promises in Node.jsBefore you deep dive into Callbacks & Promises in JS, it is very important you understand what is synchronous and asynchronous behaviour in JavaScript, If you aren't aware of it or need a quick refres00
RHrajashree hungundinpromises-with-raj.hashnode.dev·Apr 26 · 4 min read🚀 From Callback Hell to Clean Code: Understanding Async in Node.jsIf you don’t understand async in Node.js yet — this blog will fix it completely. When working with Node.js, one concept keeps coming up again and again — asynchronous code (async). But questions aris00
ACARKPARAVA CHAKRABORTYinunderstand-and-build-in-web.hashnode.dev·Apr 25 · 5 min readAsync Unleashed: Mastering Callbacks and Promises in Node.jsAsynchronous or Async means things that can happen independently of the main flow. Asynchronous Code in Node.Js allow execution of task like database query, file I/O and network request without blocki00
PAParikar Agarwalinasync-js-event-loop.hashnode.dev·Apr 24 · 6 min readCallbacks in JavaScriptWe all value our time. Don't we? When we are tasked with doing something, we try to think if we can do something in parallel to save time. Even peeling vegetables while watching television is an examp00