method Process.on
Usage in Deno
import { type Process } from "node:process";
Process.on(event: "beforeExit",listener: BeforeExitListener,): this
listener: BeforeExitListener
this
Process.on(event: "disconnect",listener: DisconnectListener,): this
listener: DisconnectListener
this
Process.on(event: "exit",listener: ExitListener,): this
listener: ExitListener
this
Process.on(event: "rejectionHandled",listener: RejectionHandledListener,): this
listener: RejectionHandledListener
this
Process.on(event: "uncaughtException",listener: UncaughtExceptionListener,): this
listener: UncaughtExceptionListener
this
Process.on(event: "uncaughtExceptionMonitor",listener: UncaughtExceptionListener,): this
listener: UncaughtExceptionListener
this
Process.on(event: "unhandledRejection",listener: UnhandledRejectionListener,): this
listener: UnhandledRejectionListener
this
Process.on(event: "warning",listener: WarningListener,): this
listener: WarningListener
this
Process.on(event: "message",listener: MessageListener,): this
listener: MessageListener
this
Process.on(event: Signals,listener: SignalsListener,): this
event: Signals
listener: SignalsListener
this
Process.on(event: "multipleResolves",listener: MultipleResolveListener,): this
listener: MultipleResolveListener
this
Process.on(event: "worker",listener: WorkerListener,): this
listener: WorkerListener
this