02 No further confusion about Promise | Promise Advanced JS Simplified
HTML-код
- Опубликовано: 27 окт 2024
- No further confusion about Promise | Promise Advanced JS Simplified
@ApplyIT2021 #applyit #javascript #programming #asyncawait
It is very important to understand how exactly async operation is handled by a separate browser thread instead of using main JavaScript thread. This video explains handling of async operation using a detailed diagram. This video also explains about promise object and its internal data. It also explains possible states of a promise and what transitions will occur when a promise gets fulfilled or gets rejected.
Watch previous video on Difference between synchronous and asynchronous call using Analogy at • 01 Realize what you al...
Playlist
• 01 Realize what you al...
A Promise is an object that wraps an asynchronous operation and returns the result (or error) when the operation completes. A Promise can be in one of three states:
Pending: The initial state when the Promise is created, and the asynchronous operation is still ongoing.
Fulfilled: The state when the asynchronous operation completes successfully, and the Promise holds a value.
Rejected: The state when the asynchronous operation fails, and the Promise holds a reason for the failure.
This video answers many questions related to Promise:
How asynchronous call works
how promise works in javascript
How browser executes async call
JavaScript Promise
What are JavaScript advanced concepts
What is asynchronous JavaScript
What is Promise in JavaScript
Synchronous and asynchronous in JavaScript
JavaScript promises in depth
What are advanced concepts of JavaScript
Why Promise is important
How to explain JavaScript Promise in simplified way
JavaScript explained in simplified way
What is ES6 Promise
How to explain JavaScript Promises in less than 10 Minutes
Nice way to explain complex concepts of Promise
Thanks and welcome
Sir aapse contact karna ho to kaise karea??
My email is applyit.2021@gmail.com