- Preparing search index...
- The search index is not available
clock-mock
Interface SetTimeoutPromise
- SetTimeoutPromise(n?, value?, options?): Promise<void>
-
Parameters
-
Optional
n: number
-
Optional
value: undefined
-
Optional
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