Skip to content

AddToQueueAndWaitParams

Options for the addToQueueAndWait function.

Import:

import type { AddToQueueAndWaitParams } from 'obsidian-dev-utils/obsidian/queue';

Signature:

export interface AddToQueueAndWaitParams

Properties

PropertyTypeDescription
abortSignal?AbortSignalOptional abort signal.
operationName?stringOptional name of the operation.
shouldShowTimeoutNotice?booleanWhether to show a timeout notice.
stackTrace?stringOptional stack trace.
timeoutInMilliseconds?numberThe timeout in milliseconds.

Methods

MethodReturnsDescription
operationFn(this, abortSignal)Promisable<void>The function to add.

Links to this page: