DEV Community

Discussion on: setTimeout vs setImmediate vs process.nextTick

Collapse
logicmason profile image
Mark Author • Edited

Clearly my model of how this works is wrong! I did some research in writing this, but the timeout is running first here.

Time to do some more investigation and revise this. Thanks!

Edit: setImmediate callbacks go into the "close" queue! I've updated the post.