process: make internal/queue_microtask.js more self-contained
- Instead of passing triggerFatalException through node.js,
simply put it on `internalBinding('util')` which has to be
loaded anyway.
- Expose the implementation of `queueMicrotask` directly instead
of through an unnecessary factory function.
PR-URL: https://github.com/nodejs/node/pull/25189
Reviewed-By:
Gus Caplan <me@gus.host>
Reviewed-By:
James M Snell <jasnell@gmail.com>
Reviewed-By:
Ruben Bridgewater <ruben@bridgewater.de>
parent
00944c7c
Please register or sign in to comment