Muzzammil Rajirajidev.hashnode.dev·Nov 25, 2024Asychronization In JsOn my journey as a self-taught developer i would love to share what I learned yesterday about asynchronous javascript. in, javascript there are two types of executions which are synchronous and asynchronous. okay, what do I mean by that and what do t...Discuss·1 likeJavaScript
Hitesh Venugopalanwatch-me-dev.hashnode.dev·Nov 11, 2024Sync vs Async: A Code-Off!Since I already have some knowledge about basic HTML, CSS, and JavaScript, I decided to begin with Asynchronous and Synchronous JavaScript .Let me share what I’ve learnt! Synchronous Code Synchronous code is JavaScript that executes line by line in ...Discuss·3 likes·46 readsJavaScript
gayatri kumargeekee.hashnode.dev·Nov 8, 2024Mastering the Art of Async: Let’s Get Moving!Why Go Async? Imagine you’re racing a car, but every time your car needs a pit stop, the entire race pauses until it’s finished. This wouldn’t make sense! In a race, every car runs independently, so one car’s pit stop doesn’t stop others. Asynchronou...Saanvi Kumar and 2 others are discussing this3 people are discussing thisDiscuss·50 likesWeb Developmentjs
TheGeekPlanetsthegeekplanets.com·Nov 8, 2024Java Multithreading vs. JavaScript Async: Understanding Parallel ExecutionHello everyone, Welcome back to my blog! I hope you’re all doing great. Today, we’re going to cover an important topic that every developer working with Java and JavaScript should be aware of. Let’s jump right into it! 💻 Java and JavaScript are both...DiscussJava
David Gostindgostin.hashnode.dev·Nov 7, 2024Asynchronous Programming in JavascriptHere are some examples of asynchronous programming in JavaScript using callbacks, Promises, and async/await. 1. Using Callbacks A callback is a function passed as an argument to another function, which is then executed after some operation completes....Discussasynchronous JavaScript
Shikhar Shuklashikhar99.hashnode.dev·Nov 6, 2024JavaScript Promises Explained: The Easiest Guide You’ll Ever Need!Introduction Promises in JavaScript can feel a bit like magic—but once you get the hang of them, they’re incredibly useful! In this guide, we’ll break down JavaScript promises in a way that’s easy to understand and remember. By the end, you’ll have a...Discuss·35 readsJavaScript
Darshit Anjariadarshitanjaria.hashnode.dev·Oct 28, 2024How JavaScript Handles Concurrent Requests Despite Being Single-Threaded: The Magic Behind the ScenesIntroduction JavaScript is known as a single-threaded language, meaning it can only execute one task at a time. However, despite this limitation, JavaScript can handle multiple asynchronous operations efficiently, such as fetching data from an API or...DiscussJavaScript
Mohan Chanduasync-js-callbacks-to-the-promises.hashnode.dev·Oct 22, 2024Asynchronous JavascriptCallbacks are the functions that are passed as an argument to another function and they are executed after some operation has been completed. callbacks are used to handle asynchronous operations. function add(callback){ let a=5; let b=10; ...Discussasynchronous JavaScript
Abhishek Reddyblog-on-async-javascript.hashnode.dev·Oct 22, 2024Asynchronous JavaScriptCall Backs : What is a callback ? : A callback is a function which is passed as an argument/parameter to another function.So the function which takes another function as an argument/parameter is known as Higher Order functions. example: function sumO...DiscussGeneral Programming
Saurabh Kumargit-and-github.hashnode.dev·Oct 22, 2024Async JS: Callbacks to PromisesAsynchronous JavaScript (Async JS) is important in today's web development. It lets developers run long tasks without stopping the main thread, keeping the user experience smooth. This blog post will look at two common ways to handle asynchronous tas...DiscussGeneral Programming