Files
node/doc/api
Dario Piotrowicz 8e978bdee1 doc: clarify cjs/esm diff in queueMicrotask() vs process.nextTick()
the section comparing `queueMicrotask()` and `process.nextTick()`
doesn't address the different scheduling behavior that the two
functions have in cjs and esm modules, the section's introductory mjs
example also provides an incorrect output, the changes here address
such by explaining the difference between the two module types and
updating the example accordingly

PR-URL: https://github.com/nodejs/node/pull/56659
Fixes: https://github.com/nodejs/node/issues/45048
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2025-02-06 01:10:37 +01:00
..
2025-01-05 13:05:31 -05:00
2024-03-18 14:27:59 +00:00
2025-01-05 13:05:31 -05:00
2024-08-14 08:15:00 +02:00
2023-04-23 13:34:08 +00:00
2024-11-27 11:03:27 -05:00
2025-02-03 20:10:03 +01:00
2024-10-16 16:11:47 +02:00
2024-08-25 18:19:06 -03:00
2025-01-05 12:57:24 -05:00
2025-01-31 01:16:42 +01:00
2025-02-03 20:09:52 +01:00
2025-01-06 10:57:22 -05:00
2024-09-17 11:18:27 -03:00
2025-01-30 19:20:38 +01:00
2024-11-27 11:03:32 -05:00
2025-01-05 12:57:24 -05:00
2025-01-05 13:05:31 -05:00
2025-01-30 19:20:38 +01:00
2025-01-05 12:57:23 -05:00
2025-01-05 13:05:30 -05:00
2025-01-30 19:20:38 +01:00
2025-01-05 12:57:24 -05:00
2024-08-05 11:15:41 -03:00
2025-01-31 01:16:44 +01:00