Questions tagged «setimmediate»

7
setImmediate与nextTick
Node.js版本0.10已于今天发布并引入 setImmediate。该API的变化文档建议做递归时使用它nextTick调用。 从MDN所说的来看,它与process.nextTick。 什么nextTick时候应该使用setImmediate?什么时候应该使用?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.