24 lines
492 B
Markdown
24 lines
492 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [deferValue](./js-utils.defervalue.md)
|
|
|
|
## deferValue() function
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare function deferValue<T>(ms: number, val: T): Promise<T>;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| ms | number | |
|
|
| val | T | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
Promise<T>
|
|
|