Skip to content

obsidian/queue

Contains utility functions for enqueuing and processing functions in Obsidian.

InterfaceDescription
AddToQueueAndWaitParamsOptions for the addToQueueAndWait function.
AddToQueueParamsOptions for the addToQueue function.
FunctionDescription
addToQueueAdds an asynchronous function to be executed after the previous function completes.
addToQueueAndWaitAdds an asynchronous function to be executed after the previous function completes and returns a Promise that resolves when the function completes.
flushQueueFlushes the queue;