- Preparing search index...
- The search index is not available
clock-mock
Interface SetIntervalPromise
- SetIntervalPromise(n?, value?, options?): AsyncGenerator<void, any, unknown>
-
Parameters
-
Optional
n: number
-
Optional
value: undefined
-
Optional
options: {
reffed?: boolean;
signal?: AbortSignal;
}
-
Optional
reffed?: boolean
-
Optional
signal?: AbortSignal
Returns AsyncGenerator<void, any, unknown>
- SetIntervalPromise<T>(n?, value?, options?): AsyncGenerator<T, any, unknown>
-
Parameters
-
Optional
n: number
-
Optional
value: T
-
Optional
options: {
reffed?: boolean;
signal?: AbortSignal;
}
-
Optional
reffed?: boolean
-
Optional
signal?: AbortSignal
Returns AsyncGenerator<T, any, unknown>
Promisified form of setInterval