Skip to content
loading...

re: Understanding the Node.js event loop phases and how it executes the JavaScript code. VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Isn't it great how setImmediate is less immediate than nextTick which isn't executed in the next tick but in the current? 🤪
 

Yes, it is indeed. It is also said that they should have been named the other way i.e setImmediate should have been named process.nextTick and vice versa.

code of conduct - report abuse