Skip to content

AddToQueueParams

Options for the addToQueue function.

Import:

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

Signature:

export interface AddToQueueParams

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: