ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
This is one of the clearest videos I've seen on how the event loop works.
Amazing video, but can you explain me why in "web api", the second goes first, then the third goes. Is "web API" a queue?
Promises are micro task(jobs queue) where as setTimeout events are macro task(task queue). Event loop prioritise all micro task in the queue before moving into macro task.
Can you suggest ant tutorial to study in deep
thanks
Thank you :)
Great 👍 👌
Thanks 😊
This is one of the clearest videos I've seen on how the event loop works.
Amazing video, but can you explain me why in "web api", the second goes first, then the third goes. Is "web API" a queue?
Promises are micro task(jobs queue) where as setTimeout events are macro task(task queue). Event loop prioritise all micro task in the queue before moving into macro task.
Can you suggest ant tutorial to study in deep
thanks
Thank you :)
Great 👍 👌
Thanks 😊