Files
node/lib/internal
Joyee Cheung f29d2b7053 src: simplify embedder entry point execution
Previously we wrapped the embedder entry point callback into a
binding and then invoke the binding from JS land which was a bit
convoluted. Now we just call it directly from C++.
The main scripts that needed to tail call the embedder callback now
return the arguments in an array so that the C++ land can extract
the arguments and pass them to the callback. We also set
`PauseOnNextJavascriptStatement()` for --inspect-brk and mark
the bootstrap complete milestone directly in C++ for these
execution modes.

PR-URL: https://github.com/nodejs/node/pull/51557
Reviewed-By: Daniel Lemire <daniel@lemire.me>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
2024-02-23 01:50:27 +00:00
..
2023-08-12 13:39:24 +02:00
2023-05-02 00:48:20 +00:00
2023-10-17 06:23:40 +00:00
2024-02-02 15:25:34 +01:00
2022-09-07 09:33:10 +00:00
2022-08-05 14:25:06 +00:00
2023-11-11 16:25:08 +00:00
…
2023-02-28 09:37:24 +00:00
2024-02-19 01:19:44 +00:00

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.