Steven Olsensrjsdev.hashnode.net·Nov 15, 2022FeaturedAsync control: Promise Queues and "leaky-buckets" 💧💦When you want to make multiple HTTP network calls in an application, sometimes you need to know when all the calls are complete. Other times, you need to be extra careful that you don't DOS your own system's back-end API (or someone else's 😐). In th...100 likes·559 readsJavaScript
Zack Sheppardzackdotcomputer.hashnode.net·Aug 17, 2021FeaturedI `Promise` you won't have to `await` long to understand `async` in JavascriptAs you're poking around with modern Javascript, it won't take you long to encounter one of the main asynchronous keywords: Promise, await, or async. So, how do these they work, and why would you want to use them? (And then at the end, some pro-tips f...92 likes·3.0K readsJavaScript
Ranita Sahasaharanitaa.hashnode.net·Sep 23, 2021Introduction to Promises and Async and Await Promises in Javascript!✨What is a Promise? A promise is an object that may provide a value sometime in the future: either a resolved value or a reason that it’s not resolved (e.g., an error occurred). A promise may be in one of 3 possible states: fulfilled, rejected, or pe...77 likes·2.8K readsJavaScript
Clinton JoyforOpen Replay's Technical Blogopenreplay.hashnode.net·Apr 23, 2023Best Practices For Async Programming In JavaScriptJavaScript provides several tools to allow you to write and execute asynchronous (async) code with no loss in performance. This article will show several best practices for async coding so you can write optimum code. JavaScript is one of the most po...2 likesJavaScript
Moshe Malatjidevmosh.hashnode.net·Apr 21, 2023Difference between Task() and TaskValue() in C#Introduction In .NET, a Task represents an asynchronous operation that may or may not return a result. When the result is available, you can use the Result property or the await keyword to retrieve it. Starting with .NET 5, a new struct called ValueT...131 readsC#
Ayush Patelayushpatel.hashnode.net·Apr 14, 2023From Callbacks to Promises and Async/Await: Asynchronous JavaScript with FetchIntroduction to asynchronous programming in JavaScript JavaScript is a synchronous, single-threaded language meaning it executes all of the instructions executed one by one in a sequence but it can still handle asynchronous operations with the help o...1 likeWeMakeDevs
Shobo Adefowopetaiwoadefowope.hashnode.net·Apr 10, 2023Async - Await in Javascript: Beginner's GuideIntroduction Web development often requires us to manage asynchronous tasks. These are actions that we have to wait for while we move on to more important things. Requests to databases and networks are made. JavaScript is not blocking: JavaScript doe...70 readsJavaScript
Taiwo Farinutaiwofarinublog.hashnode.net·Apr 10, 2023Asynchronous programming in DartIntroduction I wrote this article based on my interest in asynchronous tasks. Asynchronous programming is important for developers because it allows their applications to perform multiple tasks at the same time, without one task blocking the others. ...67 readsasynchronous
haresh lakhwanidailylearn.hashnode.net·Apr 9, 2023Demystifying Promise.all, Promise.race(), and Promise.allSettled in JavaScriptIn this blog, we are going to learn about different utility methods that we have with promises and how sometimes these methods make our life easy but before going deep into that let us understand what even promise means. So in javascript to handle as...53 likes·80 readspromises
Karan CSkaranblog.hashnode.net·Apr 7, 2023Streamline Your Error Handling in Express: A Guide to Using express-async-errorsIntroduction Error handling is a critical aspect of any application development, and it becomes even more crucial when working with Node.js and Express. While building applications with Express, it is common to use callbacks and promises, which can s...1 like·29 readsExpress
Karan CSkaranblog.hashnode.net·Apr 7, 2023Asynchronous Error Handling in ExpressStep-1 : Configuration mkdir my-blog-app cd my-blog-app npm init -y npm install express mongoose morgan express-async-handler In this example, we'll use Mongoose as our ORM and Morgan for logging. Step-2 : Connecting to MongoDB Set up the database ...10 likesExpress
satish Mishratechtonics.hashnode.net·Apr 7, 2023Async/Await of Python with Fast APIPython's async/await syntax, introduced in Python 3.5, simplifies the creation of asynchronous code by allowing non-blocking code execution that can perform multiple tasks concurrently without the need for callbacks or threads. FastAPI, a popular web...32 readsPython
Yash KhandelwalforDashwave for Mobile Devsdashwave-1679310116076.hashnode.net·Apr 6, 2023Kotlin Coroutines: Asynchronous Programming in AndroidKotlin Coroutines have been a game-changer for android dev. They have significantly improved how we write and manage asynchronous code and have made it much easier to create high-performing, responsive apps. Asynchronous programming is a crucial aspe...28 readsKotlin