27 lines
569 B
Markdown
27 lines
569 B
Markdown
<!-- 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
|
|
|
|
Wait for an OS signal.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare function signal(...signals: Array<NodeJS.Signals>): Promise<NodeJS.Signals>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| signals | Array<NodeJS.Signals> | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<NodeJS.Signals>
|
|
|
|
the fired signal
|
|
|