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