Skip to main content
Process.abort - process - Node documentation
method Process.abort

Usage in Deno

import { type Process } from "node:process";
Process.abort(): never

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.

Return Type

never