I know that setInterval is used to repeat a function several times, waiting for an interval, and setTimeout schedules an execution for the future, just one time.
To schedule an asynchronous execution, I have seen many times setTimeout(func, 0), but also setImmediate and nextTick, what is the difference? When should I use one or another
From the 4 methods, I only use frequently setTimeout, am I losing something?