Ricardo Rocha // 👨💻bittonic.hashnode.dev·Mar 11, 2024😎 Chillin' with JavaScript Promises: A Casual Chat on Async Awesomeness!Alright, let's loosen up a bit and chat about promises in JavaScript in a more casual way! 👯 So, you know how JavaScript has this whole async thing going on, right? Enter promises, the cool cats that make handling asynchronous stuff a breeze. 3️⃣ Th...DiscussJavaScript
Luca Del PuppoProblog.delpuppo.net·Feb 6, 2024A Promise is foreverIn the ever-evolving world of web development, mastering asynchronous operations is a crucial skill for any JavaScript developer. Asynchronous programming allows web applications to handle tasks like API requests, file operations, or any activities t...Discuss·13 likes·724 readsJavaScript
CCvava.hashnode.dev·Jan 24, 2024Callbacks hells To Promise / async await rescueIn this article, I would introduce why promise was introduced? What problem wants to be solved when coding in javascript? I have learned javascript for four to five years, even used it to work for at least three years. However, I still always confuse...Discussasynchronous
woodstockwoodstock.hashnode.dev·Dec 11, 2023Promise 객체Promise 객체 프로미스 객체의 필요성 프로미스 객체에 대해 이야기 하기전에 자바스크립트의 비동기 처리에 대해 다시 한 번 살펴보자. 앞서 setTimeout함수를 이용해 작업을 비동기적으로 처리했었고, setTimeout함수는 작성된 코드와 같이 콜백함수와 ms단위의 지연 시간을 매개변수로 입력받는 함수라고 배웠었다. 아래는 지난시간 작성했던 workA, workB, workC 함수를 비동기 함수로 다시 생성하고, workD는 동기적으로 ...DiscussJavaScriptJavaScript
Twinkaltwinkalp10.hashnode.dev·Aug 4, 2023Promise in JavascriptA promise is an object. It works as a placeholder for a certain period until we receive a value from an asynchronous operation. Promise in Javascript is similar to promise in real life. If we do promise to do something, there will be two results of p...Discuss·57 readspromise
Prashant Handelprashanthandel.hashnode.dev·Dec 28, 2022JavaScript Promises?When we use multiple nested callback functions a big problem arises which is known as Callback Hell or pyramid of doom. The promise is used to handle multiple asynchronous functions and their errors (if occur). A promise contains two parameters, the ...Discuss·120 readsJavaScript
Rahul Sharmadevsmitra.hashnode.dev·Nov 13, 2022Javascript Promise Methods with polyfill example: A Cheat Sheet for DeveloperPromise helps to do something asynchronously, It is a way to handle asynchronous operations in JavaScript. Promise consists of three states: Pending: Initial State, neither fulfilled nor rejected. Fulfilled: Completed Promise (success) Rejected: Fai...Discuss·3 likes·794 readsJavaScript
David Okekefrontendokeke.hashnode.dev·Aug 25, 2022Promise to Call me Back: Understanding Asynchronous JavaScriptJavaScript is single threaded which makes it inherently synchronous, This means code runs line by line on one core of the processor. However if you have functionality that needs to wait on something such as opening a file, a web response or other act...Discuss·1 like·109 readsJavaScript
Gagan BNgagan-bn.hashnode.dev·Jul 25, 2022Promise in JavaScriptA promise in JavaScript works as same as a promise in a real-life, where a promise is either fulfilled(resolved) or incomplete(rejected). Since javascript is a single-threaded synchronous language the use of promise makes it perform an a-synchronous ...Discuss·81 readsJavaScript
Anurag Sahuanuragsahu.hashnode.dev·Jun 9, 2022JavaScript Promises for BeginnersLet's pretend you're in a hypothetical situation where you've planned your birthday party, invited your friends around, and are preparing delicious food when you notice you're missing one ingredient. You dispatch someone to collect the ingredient,...Discuss·163 readsJavaScript