mirror of
https://github.com/nodejs/node.git
synced 2025-05-02 03:31:35 +00:00
![]() - 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> |
||
---|---|---|
.. | ||
coverage.js | ||
esm_loader.js | ||
execution.js | ||
main_thread_only.js | ||
next_tick.js | ||
per_thread.js | ||
promises.js | ||
stdio.js | ||
warning.js | ||
worker_thread_only.js | ||
write-coverage.js |