Skip to content

queue

Contains utility functions for enqueuing and processing functions in Obsidian.

Interface Description
AddToQueueAndWaitParams Options for the addToQueueAndWait function.
AddToQueueParams Options for the addToQueue function.
Function Description
addToQueue Adds an asynchronous function to be executed after the previous function completes.
addToQueueAndWait Adds an asynchronous function to be executed after the previous function completes and returns a Promise that resolves when the function completes.
flushQueue Flushes the queue;