promiseAllAsyncFnsSequentially<T>
Executes async functions sequentially.
Import:
import { promiseAllAsyncFnsSequentially } from 'obsidian-dev-utils/async';Signature:
function promiseAllAsyncFnsSequentially(asyncFns: (() => Promisable<T>)[]): Promise<T[]>Parameters:
| Parameter | Type | Description |
|---|---|---|
asyncFns | (() => Promisable<T>)[] | The async functions to execute sequentially. |
Returns: Promise<T[]> — A Promise that resolves with an array of the results of the async functions.