obsidian/queue
Contains utility functions for enqueuing and processing functions in Obsidian.
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| AddToQueueAndWaitParams | Options for the addToQueueAndWait function. |
| AddToQueueParams | Options for the addToQueue function. |
Functions
Section titled “Functions”| 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; |