13 lines
304 B
Markdown
13 lines
304 B
Markdown
<a name="delay"></a>
|
|
|
|
## delay(ms) ⇒ <code>Promise</code>
|
|
Delay in an async/await function
|
|
|
|
**Kind**: global function
|
|
**Returns**: <code>Promise</code> - Promise to resolve after timeout
|
|
|
|
| Param | Type | Description |
|
|
| --- | --- | --- |
|
|
| ms | <code>integer</code> | Milliseconds to delay for |
|
|
|