Executes only the macro-tasks that are currently pending (i.e., only the tasks that have been queued by setTimeout(), setInterval() and setImmediate() up to this point).
setTimeout()
setInterval()
setImmediate()
Executes only the macro-tasks that are currently pending (i.e., only the tasks that have been queued by
setTimeout()
,setInterval()
andsetImmediate()
up to this point).