OOm ShirbhateOct 3 · 13 min readAsync Code in Node.js: Callbacks and PromisesIntroduction When we write code, some operations take time.Reading a file, making a database query, calling an API, or communicating over a network may not finish immediately. If JavaScript simply waidev-ops-blogs.hashnode.dev
KKanishka ShashiJul 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 kit1javasblog.hashnode.dev
AANKESH SHARMAJun 17 · 3 min readPromises in JavascriptIntroduction A promise is a object that represents eventual completion (or failure) of asyncronous operations. Simple defination: A placeholder for a future value. Use of Promise: To execute asyncron1iamankeshsharma.hashnode.dev
SShayMay 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 shorttoddlerstech.hashnode.dev
KKushagra TrivediMay 11 · 4 min readJavaScript Promises Explained for BeginnersBefore Promises, async code in JavaScript meant callbacks. And callbacks worked — until they didn't. getUser(id, function(user) { getPosts(user.id, function(posts) { getComments(posts[0].id, funkushagrablogs.hashnode.dev
HHitakshiMay 8 · 7 min readJavaScript Promises Explained for BeginnersWhat problem promises solve Promises in JavaScript primarily solve the issue of callback hell (also known as the "Pyramid of Doom") and provide a more robust way to manage asynchronous operations. Corhitakshi120.hashnode.dev
SShreya KushwahMay 7 · 9 min readJavaScript Promises Explained for BeginnersJavaScript Promises are an important part of modern JavaScript, enabling developers to handle asynchronous operations more effectively. This article will explore how Promises work, common patterns, anuplods.hashnode.dev
NNamra SutharMay 7 · 5 min readAsync/Await in JavaScript: Writing Cleaner Asynchronous CodeIntroduction Earlier, developers mainly used callbacks and promises to handle async tasks. But large promise chains sometimes became difficult to read and manage. To solve this problem, JavaScript intnamrabuilds.hashnode.dev
SshyamendrahazracodesMay 7 · 5 min readJavaScript Promises Explained for BeginnersIntroduction: The Problem Promises Solve JavaScript is single-threaded, which means it executes one task at a time. However, many real-world tasks such as fetching data from a server or reading a fileblog.shyamhz.dev
AAman SinghMay 6 · 4 min readJavaScript Promises Explained for BeginnersHave you ever ordered food at a busy fast-food restaurant? You pay for your meal, and the cashier gives you a little buzzer or a receipt with a number. You don't have your food yet. Instead, you have maiamansingh.hashnode.dev