1
0
Fork 0
js-utils/docs/api/js-utils.signal.md

569 B

Home > @apextoaster/js-utils > signal

signal() function

Wait for an OS signal.

Signature:

export declare function signal(...signals: Array<NodeJS.Signals>): Promise<NodeJS.Signals>;

Parameters

Parameter Type Description
signals Array<NodeJS.Signals>

Returns:

Promise<NodeJS.Signals>

the fired signal