GlobalLogic Interview Question

What is the difference between nextTick() and setInmediate()