Skip to content

Function: processInterrupts()

Documentation / @wtf/platform-node / runtime / processInterrupts

function processInterrupts(__namedParameters?): Interrupts;

Defined in: packages/platform-node/src/runtime.ts:32

What says to stop of the process: the first of signals, SIGINT and SIGTERM by default, of Node’s process, or the one given.

Parameters

ParameterType
__namedParameters{ process?: SignalledProcess; signals?: readonly Signals[]; }
__namedParameters.process?SignalledProcess
__namedParameters.signals?readonly Signals[]

Returns

Interrupts