Skip to content

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 '@mnaoumov/obsidian-lib/queue';

Signature:

function addToQueueAndWait(params: AddToQueueAndWaitParams): Promise<void>

Parameters:

Parameter Type Description
params AddToQueueAndWaitParams The parameters for the function.

Returns: Promise<void>


Links to this page: