1
0
Fork 0
js-utils/docs/api/js-utils.defer.md

25 lines
489 B
Markdown
Raw Permalink Normal View History

2020-03-29 13:43:52 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@apextoaster/js-utils](./js-utils.md) &gt; [defer](./js-utils.defer.md)
## defer() function
Resolve after a set amount of time.
<b>Signature:</b>
```typescript
export declare function defer(ms: number): Promise<void>;
2020-03-29 13:43:52 +00:00
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| ms | number | |
2020-03-29 13:43:52 +00:00
<b>Returns:</b>
Promise&lt;void&gt;
2020-03-29 13:43:52 +00:00