0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal
Anatoli Papirovski 28f3ffba0f
timers: add helper fn for async init
There are currently 3 places in Timers where the exact same code
appears. Instead create a helper function that does the same job
of setting asyncId & triggerAsyncId, as well as calling emitInit.

PR-URL: https://github.com/nodejs/node/pull/18825
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2018-02-19 07:02:21 -05:00
..
cluster
crypto
http2 http2: make response.end() return this 2018-02-19 08:59:47 +01:00
loader
process async_hooks: clean up usage in internal code 2018-02-16 14:23:14 -05:00
repl
streams
test
util
vm
async_hooks.js async_hooks: clean up usage in internal code 2018-02-16 14:23:14 -05:00
bootstrap_node.js async_hooks: clean up usage in internal code 2018-02-16 14:23:14 -05:00
buffer.js
child_process.js
constants.js module: replace magic numbers by constants 2018-02-16 19:32:03 +01:00
encoding.js
errors.js
freelist.js
fs.js fs: move utility functions to internal/fs 2018-02-17 10:09:22 +01:00
http.js
inspector_async_hook.js
linkedlist.js
module.js
net.js
os.js
process.js lib: allow process kill by signal number 2018-02-17 17:09:25 +01:00
querystring.js
readline.js
readme.md
repl.js
safe_globals.js
socket_list.js
timers.js timers: add helper fn for async init 2018-02-19 07:02:21 -05:00
tls.js
trace_events_async_hooks.js
url.js
util.js
v8_prof_polyfill.js tools, test: fix prof polyfill readline 2018-02-17 10:06:53 -02:00
v8_prof_processor.js lib: replace eval with vm.runInThisContext 2018-02-17 14:35:34 +01:00
v8.js
wrap_js_stream.js

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These are subject to change at any time. Reliance on these modules outside of core is not supported in any way.