diff options
author | Joyee Cheung <joyeec9h3@gmail.com> | 2019-03-08 16:28:19 +0100 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-03-11 06:11:12 +0100 |
commit | 8d669bbeb1ed77e9cdc679f75d9e8529f5764087 (patch) | |
tree | 2b84c3a090de762ab014cb39f359cfcd68b40e9e /src/node_http2.h | |
parent | cc2c07ce0859f2df626bce912ba456439fdb33ec (diff) | |
download | android-node-v8-8d669bbeb1ed77e9cdc679f75d9e8529f5764087.tar.gz android-node-v8-8d669bbeb1ed77e9cdc679f75d9e8529f5764087.tar.bz2 android-node-v8-8d669bbeb1ed77e9cdc679f75d9e8529f5764087.zip |
process: refactor global.queueMicrotask()
- 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>
Diffstat (limited to 'src/node_http2.h')
0 files changed, 0 insertions, 0 deletions