PureCode Software interview question

Describe the difference between process.nextTick() and setImmediate().