Process.listeners - Node documentation
method Process.listeners

Usage in Deno

import { type Process } from "node:process";
Process.listeners(event: "beforeExit"): BeforeExitListener[]

Parameters

event: "beforeExit"

Return Type

Process.listeners(event: "disconnect"): DisconnectListener[]

Parameters

event: "disconnect"

Return Type

Process.listeners(event: "exit"): ExitListener[]

Parameters

event: "exit"

Return Type

Process.listeners(event: "rejectionHandled"): RejectionHandledListener[]

Parameters

event: "rejectionHandled"

Return Type

Process.listeners(event: "uncaughtException"): UncaughtExceptionListener[]

Parameters

event: "uncaughtException"

Return Type

Process.listeners(event: "uncaughtExceptionMonitor"): UncaughtExceptionListener[]

Parameters

event: "uncaughtExceptionMonitor"

Return Type

Process.listeners(event: "unhandledRejection"): UnhandledRejectionListener[]

Parameters

event: "unhandledRejection"

Return Type

Process.listeners(event: "warning"): WarningListener[]

Parameters

event: "warning"

Return Type

Process.listeners(event: "message"): MessageListener[]

Parameters

event: "message"

Return Type

Process.listeners(event: Signals): SignalsListener[]

Parameters

event: Signals

Return Type

Process.listeners(event: "multipleResolves"): MultipleResolveListener[]

Parameters

event: "multipleResolves"

Return Type

Process.listeners(event: "worker"): WorkerListener[]

Parameters

event: "worker"

Return Type