OOm Shirbhate·Oct 3Async 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 wai13 min read·dev-ops-blogs.hashnode.dev
KKanishka Shashi·Jul 27The 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 kit8 min read·javasblog.hashnode.dev1
AANKESH SHARMA·Jun 17Promises in JavascriptYeah, Javascript(JS) has a mechanism called promises and it does exectly samething as we do with our promise. You heard it right it promises to caller that i'll give whatever you requested, I'll come back after working on this you might be busy now. Ahh, May be I'm confusing you. Let me give you exect story why I'm saying JS promise as Human promise.3 min read·iamankeshsharma.hashnode.dev1
SShay·May 28Async 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 short4 min read·toddlerstech.hashnode.dev
KKushagra Trivedi·May 11JavaScript 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, fun4 min read·kushagrablogs.hashnode.dev
HHitakshi·May 8JavaScript 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. Cor7 min read·hitakshi120.hashnode.dev
SShreya Kushwah·May 7JavaScript 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, an9 min read·uplods.hashnode.dev
Sshyamendrahazracodes·May 7JavaScript 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 file5 min read·blog.shyamhz.dev
NNamra Suthar·May 7Async/Await in JavaScript: Writing Cleaner Asynchronous CodeLearn async/await in JavaScript with simple examples, promise comparison, error handling, and async execution flow.5 min read·namrabuilds.hashnode.dev
AAman Singh·May 6JavaScript Promises Explained for BeginnersSay goodbye to messy code and learn how to handle future values the easy way.4 min read·maiamansingh.hashnode.dev