Skip to content

promiseAllSequentially<T>

Executes promises sequentially.

Import:

import { promiseAllSequentially } from 'obsidian-dev-utils/async';

Signature:

function promiseAllSequentially(promises: Promisable<T>[]): Promise<T[]>

Parameters:

ParameterTypeDescription
promisesPromisable<T>[]The promises to execute sequentially.

Returns: Promise<T[]> — A Promise that resolves with an array of the results of the promises.