doc setImmediate