Skip to content

AddToQueueAndWaitParams

Options for the addToQueueAndWait function.

Import:

import type { AddToQueueAndWaitParams } from '@mnaoumov/obsidian-lib/queue';

Signature:

export interface AddToQueueAndWaitParams

Properties

PropertyTypeDescription
abortSignal?AbortSignalOptional abort signal.
operationFunction(abortSignal: AbortSignal) => Promisable<void>The function to add.
operationName?stringOptional name of the operation.
shouldShowTimeoutNotice?booleanWhether to show a timeout notice.
stackTrace?stringOptional stack trace.
timeoutInMilliseconds?numberThe timeout in milliseconds.

Links to this page: