There are four kinds of deferral mechanisms in Node.js:
clear counterparts, and have been around forever.
setImmediate is a newer construct and its adoption in the browser is not very wide, and
If Node.js actually exposed the idea of a turn of the event loop, you would be expecting the scheduled callback to run at the end of the current loop, or the start of the next -- though from the perspective of your application there isn't really a difference. In