2019-03-22 01:02:28 +00:00
|
|
|
<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 |
|
|
|
|
|