Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

doc: add setImmediate execute timing description

  • Loading branch information...
commit 00e1bfd4db9b9efedb1ee44ba10365c943e4d355 1 parent 6bc47cd
Shigeki Ohtsu authored

Showing 1 changed file with 4 additions and 3 deletions. Show diff stats Hide diff stats

  1. +4 3 doc/api/timers.markdown
7 doc/api/timers.markdown
Source Rendered
@@ -49,9 +49,10 @@ request the timer hold the program open. If the timer is already `ref`d calling
49 49
50 50 ## setImmediate(callback, [arg], [...])
51 51
52   -To schedule the "immediate" execution of `callback`. Returns an `immediateId`
53   -for possible use with `clearImmediate()`. Optionally you can also pass
54   -arguments to the callback.
  52 +To schedule the "immediate" execution of `callback` after I/O events
  53 +callbacks and before `setTimeout` and `setInterval` . Returns an
  54 +`immediateId` for possible use with `clearImmediate()`. Optionally you
  55 +can also pass arguments to the callback.
55 56
56 57 Immediates are queued in the order created, and are popped off the queue once
57 58 per loop iteration. This is different from `process.nextTick` which will

0 comments on commit 00e1bfd

Please sign in to comment.
Something went wrong with that request. Please try again.