Skip to main content

addListener

method Process.addListener
Jump to headingProcess.addListener(
event: "beforeExit",
): this

Parameters Jump to heading

Return Type Jump to heading

this
Jump to headingProcess.addListener(
event: "disconnect",
): this

Parameters Jump to heading

Return Type Jump to heading

this
Jump to headingProcess.addListener(
event: "exit",
listener: ExitListener,
): this
Jump to headingProcess.addListener(
event: "rejectionHandled",
): this

Parameters Jump to heading

Return Type Jump to heading

this
Jump to headingProcess.addListener(
event: "uncaughtException",
): this

Parameters Jump to heading

Return Type Jump to heading

this
Jump to headingProcess.addListener(
event: "uncaughtExceptionMonitor",
): this

Parameters Jump to heading

Jump to headingevent: "uncaughtExceptionMonitor"

Return Type Jump to heading

this
Jump to headingProcess.addListener(
event: "unhandledRejection",
): this

Parameters Jump to heading

Return Type Jump to heading

this
Jump to headingProcess.addListener(
event: "warning",
listener: WarningListener,
): this

Parameters Jump to heading

Return Type Jump to heading

this
Jump to headingProcess.addListener(
event: "message",
listener: MessageListener,
): this

Parameters Jump to heading

Return Type Jump to heading

this
Jump to headingProcess.addListener(
event: Signals,
listener: SignalsListener,
): this
Jump to headingProcess.addListener(
event: "multipleResolves",
): this

Parameters Jump to heading

Return Type Jump to heading

this
Jump to headingProcess.addListener(
event: "worker",
listener: WorkerListener,
): this

Parameters Jump to heading

Return Type Jump to heading

this
Back to top