Skip to content
Merged
Changes from all commits
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
2 changes: 1 addition & 1 deletion pages/asynchronous-work/discover-javascript-timers.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,4 +179,4 @@ to achieve this scenario:

`setTimeout` and `setInterval` are available in Node.js, through the [Timers module](https://nodejs.org/api/timers.html).

Node.js also provides `setImmediate()`, which is equivalent to using `setTimeout(() => {}, 0)`, mostly used to work with the Node.js Event Loop.
Node.js also provides `setImmediate()`, which schedules a callback to execute during the check phase of the event loop. Unlike `setTimeout(() => {}, 0)`, it is not generally equivalent because their callbacks are executed in different phases of the event loop and their execution order depends on the execution context.
Loading