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

25 lines
489 B
Markdown

<!-- 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>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| ms | number | |
<b>Returns:</b>
Promise&lt;void&gt;