process.abort()


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

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

此功能在 Worker 线程中不可用。

🌐 This feature is not available in Worker threads.