Skip to content

promiseAllSequentially<T>

Executes promises sequentially.

Import:

import { promiseAllSequentially } from '@mnaoumov/typescript-lib/async';

Signature:

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

Parameters:

Parameter Type Description
promises Promisable<T>[] The promises to execute sequentially.

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