List down the various timing features of Node.js.

Node.js provides a Timers module that contains various functions for executing the code after a specified period of time. Below I have listed down the various functions provided by this module:

setTimeout/clearTimeout – Used to schedule code execution after a designated amount of milliseconds
setInterval/clearInterval – Used to execute a block of code multiple times
setImmediate/clear immediate – Used to execute code at the end of the current event loop cycle
process.nextTick – Used to schedule a callback function that needs to be invoked in the next iteration of the Event Loop