BLBhavy Ladaniinbhavycodes.hashnode.dev·1d ago · 5 min readPromise Internals: What Actually Happens When You Call .then()?Most JavaScript developers use Promises every day. But have you ever wondered what actually happens after you call .then()? Where does JavaScript keep your callback? Why does it not wait for the API t00
KSKanishka Shashiinjavasblog.hashnode.dev·Jul 27 · 8 min readThe Restaurant That Runs on Promises: A JavaScript Love StoryA Quick Story Before We Begin Imagine you walk into a restaurant called Café Async. You sit down, and the waiter says: "I promise your food will arrive. It might come out perfectly cooked, or the kit10
ARAlok Rajinbeing-javascripted.hashnode.dev·Jul 24 · 4 min readJavaScript Promises Explained for BeginnersPromises in JS I promise to explain promise in a fun way. A promise is a like a coin-toss which is either going to be a HEAD or TAILS. However, it is flicked in the air and in that time phase it is i00
SNSrekaravarshan N Kinsrekaravarshan.hashnode.dev·Jul 11 · 28 min readPart 6: Microtasks and Why Two QueuesWhat no one teaches you about the JavaScript Event Loop — Part 6 of 8 A puzzle, slightly harder Promise.resolve().then(() => { console.log('1'); Promise.resolve().then(() => console.log('2'))00
SShayintoddlerstech.hashnode.dev·May 28 · 4 min readAsync Code in Node.Jsif you not already know by now what async code means , then you should probably read previous blogs . for them who wants revise - async code runs parallelly with rest of the code ( its is just a short00
SPSumit Patelinblogsumitkumar14.hashnode.dev·May 23 · 21 min readThe Multiverse of Promises A Deep Dive into JavaScript’s Asynchronous PowerNick Fury walks into the control room of S.H.I.E.L.D. Alarms are flashing. Thor is in Asgard.Spider-Man is in New York.Hulk is somewhere… smashing (SMASH! CRUNCH!)Iron Man is building something danger00
SDSylvester Dasinblog.minifyn.com·May 11 · 5 min readMastering Asynchronous JavaScript in Node.js: From Callbacks to Async/AwaitNode.js thrives on its non-blocking, asynchronous nature, a fundamental design choice that allows it to handle thousands of concurrent connections efficiently. Unlike traditional synchronous models wh00
NRNavdeep Rohillainjavascript-journey-by-navdeep.hashnode.dev·May 10 · 3 min readAsync Code in NodeJS1. Why async code exists in Node.js Imagine you ask Node.js to read a file from your disk. That file could be small — or it could be 200MB. Either way, reading it takes time. And while Node.js is wait00
NRNavdeep Rohillainjavascript-journey-by-navdeep.hashnode.dev·May 10 · 5 min readSynchronous vs Asynchronous JSJavaScript is single-threaded. That sounds technical, but it simply means: it can only do one thing at a time. If JavaScript only does one thing at a time, how does it handle loading tweets, playing a00
NRNavdeep Rohillainjavascript-journey-by-navdeep.hashnode.dev·May 10 · 5 min readAsync/Await in JSIntroduction Remember the "Pyramid of Doom"? Or those never-ending .then().catch() chains that made your code look like a zigzag? JavaScript’s asynchronous nature is powerful, but handling it traditio00