Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: fix the timing of setImmediate's execution
About setImmediate, the execution timing is after timers currently.
  • Loading branch information
darai0512 committed Mar 26, 2017
commit d1da14a1f18ab4a505c4db87ede745a3bc6cb31b
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