deno.com
method Process.once
#Process.once(
event: "beforeExit",
): this

Parameters #

#event: "beforeExit"

Return Type #

this
#Process.once(
event: "disconnect",
): this

Parameters #

#event: "disconnect"

Return Type #

this
#Process.once(
event: "exit",
listener: ExitListener,
): this

Parameters #

#event: "exit"
#listener: ExitListener

Return Type #

this
#Process.once(
event: "rejectionHandled",
): this

Parameters #

#event: "rejectionHandled"

Return Type #

this
#Process.once(
event: "uncaughtException",
): this

Parameters #

#event: "uncaughtException"

Return Type #

this
#Process.once(
event: "uncaughtExceptionMonitor",
): this

Parameters #

#event: "uncaughtExceptionMonitor"

Return Type #

this
#Process.once(
event: "unhandledRejection",
): this

Parameters #

#event: "unhandledRejection"

Return Type #

this
#Process.once(
event: "warning",
listener: WarningListener,
): this

Parameters #

#event: "warning"

Return Type #

this
#Process.once(
event: "message",
listener: MessageListener,
): this

Parameters #

#event: "message"

Return Type #

this
#Process.once(
event: Signals,
listener: SignalsListener,
): this

Parameters #

#event: Signals

Return Type #

this
#Process.once(
event: "multipleResolves",
): this

Parameters #

#event: "multipleResolves"

Return Type #

this
#Process.once(
event: "worker",
listener: WorkerListener,
): this

Parameters #

#event: "worker"
#listener: WorkerListener

Return Type #

this
#Process.once(
event: string | symbol,
listener: (...args: any[]) => void,
): this

Parameters #

#event: string | symbol
#listener: (...args: any[]) => void

Return Type #

this