569 B
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