Node.js Tutorials - 43 - Microtask Queues

Node.js Tutorials - 43 - Microtask Queues

Codevolution

1 год назад

42,031 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Nuclear Pizza
Nuclear Pizza - 17.11.2023 01:23

got it right

Ответить
Balaji
Balaji - 15.11.2023 17:51

i got that right

Ответить
Igor Mitkovski
Igor Mitkovski - 10.11.2023 13:33

Good tutorial but, god, your ending of all senteces is so annoying

Ответить
Alexander Zalesov
Alexander Zalesov - 21.10.2023 12:01

Also, I noticed that using Promises puts the execution of the handler to the next cycle. While using regular js callbacks execute right away in for example IO or Timer cycles. Is it fair to say that using callbacks is faster than using Promises? using Promise will add an additional cycle event if it is just Promise.resolve?

Ответить
Alexander Zalesov
Alexander Zalesov - 21.10.2023 11:58

So Calling nextTick inside nextTick actually executes the callback in the same cycle and not in the next.

Ответить
Harsh Vardhan
Harsh Vardhan - 19.10.2023 20:39

Core concepts explained with a heart winning simplicity.

Ответить
Abdullah Ayyash
Abdullah Ayyash - 20.09.2023 00:16

I always give your video a like before even watching it.

Ответить
Muhammed Sahad
Muhammed Sahad - 17.08.2023 18:11

The first time I saw the diagram, I skipped the entire tutorial, but after a few months, I started watching it again. The phase and queues in Node JS are now clear to me... thank you so much!

Ответить
Mohamed Ibrahim
Mohamed Ibrahim - 14.08.2023 15:56

Don't know what you have to apologize for. The switches between the diagram and the code are fantastic and help more. Thank you

Ответить
OWETHU week
OWETHU week - 06.08.2023 13:38

Thanks a lot. You have made my day!

Ответить
Shorts
Shorts - 30.07.2023 13:35

It's been wonderful sir, and i got it right in the first try and you made it possible for me to guess <3

Ответить
Learn with JK
Learn with JK - 22.07.2023 22:31

Just wow concept 🙏🥰

Ответить
Sahil Mistry
Sahil Mistry - 16.07.2023 09:14

Greate explanation with patience👌👌

Ответить
Pronay Pramanick
Pronay Pramanick - 22.06.2023 11:27

Hey, I have a question. Why did you repeatedly use the phrase 'user-written synchronous code' in your explanations? Why do we have to mention 'user written'?

Ответить
Andrew Shaban
Andrew Shaban - 19.06.2023 18:46

Why did they make it so complex? Why do we need so many queues?

Ответить
Chidimma Okafor
Chidimma Okafor - 26.05.2023 23:15

I am a bit confused. I thought the inner CallBacks would join the next iteration. which would mean the sequence would be

NextTick1,
NextTick2,
NextTick3,
PromiseResolve1
PromiseResolve2
PromiseResolve3
NextTick inside NextTick,
Promise inside Promise

Ответить
Yakshith Kulal
Yakshith Kulal - 26.05.2023 08:44

According to my understanding, the global function will also be removed from the call stack before running any async code

Ответить
Mohammed Ashiq
Mohammed Ashiq - 05.05.2023 23:53

Well explanation

Ответить
Pradnesh Khedekar
Pradnesh Khedekar - 22.04.2023 20:51

Really great explanation and on point with visual representation 👍

Ответить
洪唯竣
洪唯竣 - 09.04.2023 10:50

Your explanation is the clearest one I've ever heard. Thanks a lot!

Ответить
Thirunavukarasu S
Thirunavukarasu S - 19.03.2023 08:18

Yes i got the same results

Ответить
Iqbal Ali
Iqbal Ali - 12.03.2023 14:21

In my case promise queue running before process.nextTick queue

Ответить
Saif Ali
Saif Ali - 09.03.2023 22:53

Your teaching style is so so beautiful that I was able to predict the result. Thank you so much :)

Ответить
Nyan Tint
Nyan Tint - 07.03.2023 11:55

You are one of the best teachers I ever met, sir. Everything explained well and short to the point. Got it in one go and I got my confidence boosted!

Ответить
Nischal Bista
Nischal Bista - 27.02.2023 19:08

your explanation is soooooo good that I got it right

Ответить
무자본
무자본 - 16.02.2023 15:19

thanks teacher 43

Ответить
sanjarcode
sanjarcode - 01.02.2023 11:37

Thanks a lot, Vishwas

Ответить
Greg Thomas
Greg Thomas - 26.01.2023 07:23

I magically got it right on the first try thanks to your great explanations.

Ответить
Natarajan Yuvaraj
Natarajan Yuvaraj - 23.01.2023 18:13

Got it right

Ответить
Faizan Ahmed
Faizan Ahmed - 15.01.2023 18:15

Got right man!

Ответить
md rashid ashraf
md rashid ashraf - 14.01.2023 16:15

Got right for next tick, but little different for promise.resolve,

Ответить
MD SAFIKUL ISLAM
MD SAFIKUL ISLAM - 14.01.2023 15:52

Sir! You are great in this field!

Ответить
Rishi Raj
Rishi Raj - 14.01.2023 15:39

🙏👍👍

Ответить
Rockerz
Rockerz - 14.01.2023 15:31

Awesome Video...

Ответить