Understanding Asynchronous JavaScript

preview_player
Показать описание
Understanding asynchronous JavaScript is an important concept. This concept leads to a better understanding of callbacks and promises.

For more resources on JavaScript:

Full personalized courses on JavaScript:
Courses offered on Udemy: Getting Started or Advanced Topics at a huge discount:

Tutorials referred to in this video:
Рекомендации по теме
Комментарии
Автор

Amazing pace, clear voice, solid knowledge, mature and patient teaching. Sir, you are an awesome teacher.

prabhakaranjeyamohan
Автор

Sir, you are a good instructor glad I found this video. Thank you!

jude
Автор

he he, I watched one video, then each one keeps referencing other videos I should watch first. The rabbit hole goes so deep ha ha - thanks for linking the relevant mentioned videos

ivangutowski-smith
Автор

Sir, your explanation is very lucid. I can't thank you enough.

mubasshirahmed
Автор

The best Asynchronous example I ever heard. Thank you, sir

muslimman
Автор

Hello, can you please tell me what editor and what theme do you use?

tslqs
Автор

Thank you, it really helped me revising the concept.

noumanmalik
Автор

Thank you! Nobody explains JavaScript better than you! Is there a "async await" video? I wonder if i missed that somewhere.

magdaw
Автор

This is a very simplistic explanation. The execution of JavaScript is always synchronous from a call stack. What setTimeout does is delay the moment that a callback is pushed into the stack. And it will push into the stack after X milliseconds which means that it will actually be executed after all the stack is done executing. So it may not even be executed after X milliseconds. If this happens on a browser, other tasks may be executed before the callback like Dom rendering for example.

rao
Автор

Thank you sir ....am glad you'll do promises next

denniskamonde
Автор

Could have been an opportunity to introduce the Event Loop topic and Blocking Threads vs non-blocking threads.

haciendadad
Автор

one of your videos is numbered 97 but i cant find the playlist for it.

yamatube
Автор

it's not really the callbacks that makes it asynchronous but its the web APIs like settimeout which makes it asynchronous. its not like you create your own callback and it's magically asynchronous because javascript is songle threaded. the web APIs which aren't coming with the javasript runtime engine but with the browser is what makes thr ehole thing asynchronous

simplified_af
Автор

Play at 1.25x speed. It sounds like you're purposely talking slower than necessary to lengthen the video duration

mimishiba
Автор

This is just a plug. Which I have to say, the guy has 20+ yrs of JS experince and his 'courses' are as weak as yesterdays unfinished can of beer. better of elsewhere if you want to understand callbacks, async

petersingh