diff options
author | Daiki Arai <darai0512@yahoo.co.jp> | 2017-03-26 23:36:58 +0900 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-04-04 10:38:50 -0700 |
commit | e9f2ec4e1e590ce0b1f4a071997688f54ea52fdd (patch) | |
tree | 5bbdb8e572261c6e4723d9a5c30c48cd6a0f0e98 /doc/api/timers.md | |
parent | 08442621a293ecd505fd36d844ab56893a0ce8c0 (diff) | |
download | android-node-v8-e9f2ec4e1e590ce0b1f4a071997688f54ea52fdd.tar.gz android-node-v8-e9f2ec4e1e590ce0b1f4a071997688f54ea52fdd.tar.bz2 android-node-v8-e9f2ec4e1e590ce0b1f4a071997688f54ea52fdd.zip |
doc: fix the timing of setImmediate's execution
About setImmediate, the execution timing is after timers currently.
PR-URL: https://github.com/nodejs/node/pull/12034
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'doc/api/timers.md')
-rw-r--r-- | doc/api/timers.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/api/timers.md b/doc/api/timers.md index df48905001..e62e2e57ed 100644 --- a/doc/api/timers.md +++ b/doc/api/timers.md @@ -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 |