Interface SetTimeoutPromise
- SetTimeoutPromise(n?, value?, options?): Promise<void>
Parameters
Optional
n: numberOptional
value: undefinedOptional
options: {
reffed?: boolean;
signal?: AbortSignal;
}Optional
reffed?: boolean
Optional
signal?: AbortSignal
Returns Promise<void>
- SetTimeoutPromise<T>(n, value, options?): Promise<T>
Parameters
- n: number
- value: T
Optional
options: {
reffed?: boolean;
signal?: AbortSignal;
}Optional
reffed?: boolean
Optional
signal?: AbortSignal
Returns Promise<T>
The promisified form of setTimeout