2020-03-29 13:43:52 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [signal](./js-utils.signal.md)
|
|
|
|
|
|
|
|
## signal() function
|
|
|
|
|
2021-08-08 20:11:23 +00:00
|
|
|
Wait for an OS signal.
|
|
|
|
|
2020-03-29 13:43:52 +00:00
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
export declare function signal(...signals: Array<NodeJS.Signals>): Promise<NodeJS.Signals>;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2020-06-29 23:23:16 +00:00
|
|
|
| signals | Array<NodeJS.Signals> | |
|
2020-03-29 13:43:52 +00:00
|
|
|
|
|
|
|
<b>Returns:</b>
|
|
|
|
|
2020-06-29 23:23:16 +00:00
|
|
|
Promise<NodeJS.Signals>
|
2020-03-29 13:43:52 +00:00
|
|
|
|
2021-08-08 20:11:23 +00:00
|
|
|
the fired signal
|
|
|
|
|