mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 17:01:08 +00:00

- Lazy load `async_hooks` in the implementation - Rename `process/next_tick.js` to `process/task_queues.js` and move the implementation of `global.queueMicrotask()` there since these methods are conceptually related to each other. - Move the bindings used by `global.queueMicrotask()` into `node_task_queue.cc` instead of the generic `node_util.cc` - Use `defineOperation` to define `global.queueMicrotask()` PR-URL: https://github.com/nodejs/node/pull/26523 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com>
11 lines
460 B
Plaintext
11 lines
460 B
Plaintext
|
|
*test*message*nexttick_throw.js:*
|
|
undefined_reference_error_maker;
|
|
^
|
|
ReferenceError: undefined_reference_error_maker is not defined
|
|
at *test*message*nexttick_throw.js:*:*
|
|
at processTicksAndRejections (internal/process/task_queues.js:*:*)
|
|
at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:*:*)
|
|
at Function.Module.runMain (internal/modules/cjs/loader.js:*:*)
|
|
at internal/main/run_main_module.js:*:*
|