Skip to content

SearchQueueStartOptions

Unofficial

Optional callbacks for a search queue’s runnable lifecycle.

Import:

import type { SearchQueueStartOptions } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface SearchQueueStartOptions

Properties

PropertyTypeDescription
narrows?booleanWhether the new query only narrows the previous one, so files the previous search did not match are skipped. When omitted or false, the record of unmatched files is cleared.

Methods

MethodReturnsDescription
onCancel()voidCalled when the queue is cancelled.
onStart()voidCalled when processing starts or resumes.
onStop()voidCalled when processing pauses after exhaustion.