Tag Archives: Promises

JavaScript Guarantees – All You Have to Know to Get Began

JavaScript Guarantees – All You Have to Know to Get Began Desk of Contents Introduction Creating a Promise Resolving and rejecting Promises with static methods Four states of JavaScript Promises Handling JavaScript Promises with handler functions The then() handler function The catch() handler function The finally() handler function Promise methods Promise.all() Promise.allSettled() Promise.race() Promise.any() Conclusion:…

Read More

ES6, ES7, ES8 & Writing Trendy JavaScript Pt6 – Arrow capabilities & Guarantees

ES6, ES7, ES8 & Writing Trendy JavaScript Pt6 – Arrow capabilities & Guarantees Desk of Contents Arrow functions Arrow functions vs functions Anything new? Promise Chaining Promises Promises and racing Epilogue: ES6, ES7, ES8 & Writing Modern JavaScript Pt6 Arrow capabilities, generally additionally known as fats arrows, and Guarantees are two often highlighted options of…

Read More

The one information you may ever want to grasp Guarantees and Async await – JavaScript Dev Feed

The one information you may ever want to grasp Guarantees and Async await On the subject of **Guarantees* and Async await that are intently associated ideas in Javascript, individuals are at all times confused even after watching tutorials or studying quite a few articles about them. Effectively, fear not as a result of I guarantee…

Read More

My second vanilla JavaScript Project: using APIs, promises, classes, error handling, and more! – HTML Dev Feed

My second vanilla JavaScript Project: using APIs, promises, classes, error handling, and more! This project was one of my favourite tools for breaking my way out of tutorial hell 👹. I also wanted this project to serve me as a display of my JavaScript skills to potential employers or collaborators. 👉 You can take a…

Read More

A Visual Guide to Refactoring Callback Functions to Promises & Async/await – Node Dev Feed

A Visual Guide to Refactoring Callback Functions to Promises & Async/await This article was originally published at https://maximorlov.com/visual-guide-refactoring-callback-functions/ Are you constantly struggling to keep your code at least halfway understandable while having deeply nested calls everywhere? Callback trees a million deep are distressing. Perhaps you’re still not comfortable with async/await and you’re stuck using promises….

Read More