mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 07:27:22 +01:00
d18b0a0132
- Rename `internalTickCallback` to `processTicksAndRejections`, make sure it does not get called if it's not set in C++. - Rename `emitPromiseRejectionWarnings` to `processPromiseRejections` since it also emit events that are not warnings. - Sets `SetPromiseRejectCallback` in the `Environment` constructor to make sure it only gets called once per-isolate, and make sure it does not get called if it's not set in C++. - Wrap promise rejection callback initialization into `listenForRejections()`. - Add comments. PR-URL: https://github.com/nodejs/node/pull/25200 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> |
||
---|---|---|
.. | ||
bootstrap | ||
cluster | ||
console | ||
crypto | ||
dns | ||
fs | ||
http2 | ||
modules | ||
process | ||
repl | ||
streams | ||
test | ||
util | ||
vm | ||
worker | ||
assert.js | ||
async_hooks.js | ||
bash_completion.js | ||
buffer.js | ||
child_process.js | ||
cli_table.js | ||
constants.js | ||
dgram.js | ||
domexception.js | ||
encoding.js | ||
error-serdes.js | ||
errors.js | ||
fixed_queue.js | ||
freelist.js | ||
http.js | ||
inspector_async_hook.js | ||
js_stream_socket.js | ||
linkedlist.js | ||
net.js | ||
options.js | ||
per_context.js | ||
print_help.js | ||
priority_queue.js | ||
querystring.js | ||
queue_microtask.js | ||
readline.js | ||
readme.md | ||
repl.js | ||
safe_globals.js | ||
socket_list.js | ||
stream_base_commons.js | ||
timers.js | ||
tls.js | ||
trace_events_async_hooks.js | ||
tty.js | ||
url.js | ||
util.js | ||
v8_prof_polyfill.js | ||
v8_prof_processor.js | ||
validators.js | ||
worker.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 modules
can be changed at any time. Reliance on these modules outside of core
is not supported in any way.