JavaScript async/await Keywords | Asynchronous Programming | JavaScript Promises | Error Handling

preview_player
Показать описание
Learn how to use Async/Await Keywords in JavaScript. Understand the various rules of it and how to handle errors in async operations.

Timecodes
0:00 - Introduction
1:00 - Async and Await Keywords and Rules
12:56 - Handling Errors with Async/Await
21:20 - The fetch API and Async/Await
21:48 - Wrapping UP and What's Next?

Important Links:
Рекомендации по теме
Комментарии
Автор

seriously this series is gem for js learners I am reading the article by you sir and got to know you also have yt channel that is very useful as your articles

himanshuwiz
Автор

i just finished going all of your tutorials, it took some hours throughout some days but I feel more confident with what I didn't know before this. I knew just enough to get up and running and make apps, but this helped me understand what's really going on behind the scenes, thank you!

KingOfGods
Автор

Thank you sir. Are you planning to make a react native course in the future?

saihgfcfc
Автор

I have a question. This is in regard to another video (JavaScript Synchronous vs. Asynchronous) where you have explained how event loop does the scheduling. In case of Promises, is the code in the 'then' block or after 'await' considered as a callback function? Basically, is it kept in the 'Callback/Task queue' or the 'Job queue'? I think it should be there in the job queue, so that it gets priority over any other callback waiting in the 'Callback/Task queue'. Can you please confirm?

Gaurav
Автор

Sir, thanks a lot for the tutorial and the resources. it was really valuable & i really learnt a lot.
I'm unable to find the final video for which you said you'll incorporate all the concepts that you've thought so far. so that it'll be a proper example & illustration.

yogeshr
Автор

Thank you so much sir...
Could you please make a full course on react js ..

marrisaikrishna
Автор

Hi Sir, Thanks for the explanation. If possible could you please also share practical implementation of for await loop for async object iteration.

SunitDasgupta
Автор

bro...your videos are really helpful...but its taking moretime to reach people...keep making videos on web development fastly as early as possible...great things always takes time

anandgarikapati
Автор

For example we have a function like this
const getaData=async ()=>{
const data= await userApi();
console.log("hi");
}
Here if userApi takes 1 minute has await will wait until promise return if promise is settled . Then it goes to next line ( here it seems like a blocking a code because console.log("hi") will return after 1 minute which it seems like a blocking code
Sir please can you explain my example if it is wrong

saivivekravi
welcome to shbcf.ru