- Preparing search index...
- The search index is not available
clock-mock
Interface SetImmediatePromise
- SetImmediatePromise(value?, options?): Promise<void>
-
Parameters
-
Optional
value: undefined
-
Optional
options: {
reffed?: boolean;
signal?: AbortSignal;
}
-
Optional
reffed?: boolean
-
Optional
signal?: AbortSignal
Returns Promise<void>
- SetImmediatePromise<T>(value, options?): Promise<T>
-
Parameters
-
value: T
-
Optional
options: {
reffed?: boolean;
signal?: AbortSignal;
}
-
Optional
reffed?: boolean
-
Optional
signal?: AbortSignal
Returns Promise<T>
The promisified form of setImmediate