Skip to main content

once

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

Parameters Jump to heading

Return Type Jump to heading

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

Parameters Jump to heading

Return Type Jump to heading

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

Parameters Jump to heading

Return Type Jump to heading

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

Parameters Jump to heading

Return Type Jump to heading

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

Parameters Jump to heading

Jump to headingevent: "uncaughtExceptionMonitor"

Return Type Jump to heading

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

Parameters Jump to heading

Return Type Jump to heading

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

Parameters Jump to heading

Return Type Jump to heading

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

Parameters Jump to heading

Return Type Jump to heading

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

Parameters Jump to heading

Return Type Jump to heading

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

Parameters Jump to heading

Return Type Jump to heading

this
Jump to headingProcess.once(
event: string | symbol,
listener: (...args: any[]) => void,
): this

Parameters Jump to heading

Jump to headingevent: string | symbol
Jump to headinglistener: (...args: any[]) => void

Return Type Jump to heading

this
Back to top