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

553 B

Home > @apextoaster/js-utils > deferValue

deferValue() function

Resolve with the given value, after a set amount of time.

Signature:

export declare function deferValue<T>(ms: number, val: T): Promise<T>;

Parameters

Parameter Type Description
ms number
val T

Returns:

Promise<T>