process.abort()


process.abort() 方法会导致 Node.js 进程立即退出并生成一个核心文件。

此特性在 Worker 线程中不可用。

The process.abort() method causes the Node.js process to exit immediately and generate a core file.

This feature is not available in Worker threads.