addToQueueAndWait
Adds an asynchronous function to be executed after the previous function completes and returns a Promise that resolves when the function completes.
Import:
import { addToQueueAndWait } from 'obsidian-dev-utils/obsidian/queue';Signature:
function addToQueueAndWait(params: AddToQueueAndWaitParams): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
params | AddToQueueAndWaitParams | The parameters for the function. |
Links to this page: