Skip to content

This repository is a deep-dive exploration into the world of asynchronous programming in JavaScript. It covers the transition from traditional callback patterns to modern Promises and async/await, with a heavy emphasis on the engine's internal mechanics.

Notifications You must be signed in to change notification settings

Ashukr321/asynchronous-javascript-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Asynchronous Javascript

1. asynchronous and synchronous code 
2. How asynchronouse code exectued 
3. what is the excution thread 
4. Ajax 
5. promises Object methods 
6. static and instance Promises methods 
7. How response.json() methods work 

Promise Static methods :-

  • the method that will be call * access directly via class Reference
1. Promise.all(): it takes  array of the Promises , if one fail then result rejected 
2. Promise.allSettled(): No matter this return the value of  the promise either resolve or reject 
3. Promise.any():  This return only fulfilled Promise order no preserve 
4. Promise.race():
5. Promise.reject(): 
6. Promise.resolve(): 
7. Promise.try() 
8. Promise.resolvers() 

About

This repository is a deep-dive exploration into the world of asynchronous programming in JavaScript. It covers the transition from traditional callback patterns to modern Promises and async/await, with a heavy emphasis on the engine's internal mechanics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published