AddToQueueAndWaitParams
Options for the addToQueueAndWait function.
Import:
import type { AddToQueueAndWaitParams } from 'obsidian-dev-utils/obsidian/queue';Signature:
export interface AddToQueueAndWaitParamsProperties
| Property | Type | Description |
|---|---|---|
| abortSignal? | AbortSignal | Optional abort signal. |
| operationName? | string | Optional name of the operation. |
| shouldShowTimeoutNotice? | boolean | Whether to show a timeout notice. |
| stackTrace? | string | Optional stack trace. |
| timeoutInMilliseconds? | number | The timeout in milliseconds. |
Methods
| Method | Returns | Description |
|---|---|---|
| operationFn(this, abortSignal) | Promisable<void> | The function to add. |
Links to this page: