File tree 2 files changed +6
-5
lines changed
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1463,9 +1463,9 @@ changes:
1463
1463
1464
1464
` process.nextTick() ` adds ` callback ` to the "next tick queue". This queue is
1465
1465
fully drained after the current operation on the JavaScript stack runs to
1466
- completion and before the event loop is allowed to continue. As a result, it's
1467
- possible to create an infinite loop if one were to recursively call
1468
- ` process.nextTick() ` .
1466
+ completion and before the event loop is allowed to continue. It's possible to
1467
+ create an infinite loop if one were to recursively call ` process.nextTick() ` .
1468
+ See the [ Event Loop ] guide for more background .
1469
1469
1470
1470
``` js
1471
1471
console .log (' start' );
@@ -2265,6 +2265,7 @@ cases:
2265
2265
[ Child Process ] : child_process.html
2266
2266
[ Cluster ] : cluster.html
2267
2267
[ Duplex ] : stream.html#stream_duplex_and_transform_streams
2268
+ [ Event Loop ] : https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#process-nexttick
2268
2269
[ LTS ] : https://github.com/nodejs/Release
2269
2270
[ Readable ] : stream.html#stream_readable_streams
2270
2271
[ Signal Events ] : #process_signal_events
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ globals, there is no need to call `require('timers')` to use the API.
10
10
11
11
The timer functions within Node.js implement a similar API as the timers API
12
12
provided by Web Browsers but use a different internal implementation that is
13
- built around [ the Node.js Event Loop] [ ] .
13
+ built around the Node.js [ Event Loop] [ ] .
14
14
15
15
## Class: Immediate
16
16
@@ -263,6 +263,7 @@ added: v0.0.1
263
263
264
264
Cancels a ` Timeout ` object created by [ ` setTimeout() ` ] [ ] .
265
265
266
+ [ Event Loop ] : https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout
266
267
[ `TypeError` ] : errors.html#errors_class_typeerror
267
268
[ `clearImmediate()` ] : timers.html#timers_clearimmediate_immediate
268
269
[ `clearInterval()` ] : timers.html#timers_clearinterval_timeout
@@ -271,4 +272,3 @@ Cancels a `Timeout` object created by [`setTimeout()`][].
271
272
[ `setInterval()` ] : timers.html#timers_setinterval_callback_delay_args
272
273
[ `setTimeout()` ] : timers.html#timers_settimeout_callback_delay_args
273
274
[ `util.promisify()` ] : util.html#util_util_promisify_original
274
- [ the Node.js Event Loop ] : https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/
You can’t perform that action at this time.
0 commit comments