Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/themost-framework/promise-sequence

Execute promises in series
https://github.com/themost-framework/promise-sequence

promise sequence sequential series

Last synced: 21 days ago
JSON representation

Execute promises in series

Awesome Lists containing this project

README

        

# @themost/promise-sequence
An extension for executing an array of promise in series

## Usage
npm i @themost/promise-sequence

Execute an array of promises:

import '@themost/promise-sequence'
const results = await Promise.sequence([
() => new Promise(...),
() => new Promise(...)
]);