SleepParams
Parameters for sleep.
Import:
import type { SleepParams } from 'obsidian-dev-utils/async';Signature:
export interface SleepParamsProperties
| Property | Type | Description |
|---|---|---|
| abortSignal? | AbortSignal | The abort signal to listen to. |
| milliseconds | number | The time to wait in milliseconds. |
| shouldThrowOnAbort? | boolean | Whether to throw an error if the abort signal is aborted. |
Links to this page: