Skip to content

Commit

Permalink
doc: fix the timing of setImmediate's execution
Browse files Browse the repository at this point in the history
About setImmediate, the execution timing is after timers currently.
  • Loading branch information
darai0512 committed Mar 26, 2017
1 parent 61c60bb commit d1da14a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions doc/api/timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ added: v0.9.1
* `...args` {any} Optional arguments to pass when the `callback` is called.

Schedules the "immediate" execution of the `callback` after I/O events'
callbacks and before timers created using [`setTimeout()`][] and
[`setInterval()`][] are triggered. Returns an `Immediate` for use with
[`clearImmediate()`][].
callbacks. Returns an `Immediate` for use with [`clearImmediate()`][].

When multiple calls to `setImmediate()` are made, the `callback` functions are
queued for execution in the order in which they are created. The entire callback
Expand Down

0 comments on commit d1da14a

Please sign in to comment.