ides/event-loop-timers-and-nexttick/-sharpsetimmediate-vs-settimeout" rel=" nofollow noreferrer "> reference link
-update the question.
so under what circumstances will these two possibilities occur?
I read teacher Ruan"s article and got some new understanding of this problem:
- , setTimeout setImmediate
After event loop in
nodejs, I feel that my basic skills are still not solid, and I have no way to understand the problem more deeply and feel ashamed.
at the same time, you are welcome to correct my views.