-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: 1.4.23
-
Component/s: None
-
Labels:
-
Empty show more show less
Pro:
process.nextTick insert on the head the callback destroying the nature of the nodejs stack.
It's better to use setImmadiate to add on the tick stack all callbacks.
Cons:
setImmediate is slower than process.nextTick