Package Exports
- @themost/promise-sequence
- @themost/promise-sequence/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@themost/promise-sequence) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@themost/promise-sequence
An extension for executing an array of promise in series
Usage
npm i @themost/promise-sequenceExecute an array of promises:
import '@themost/promise-sequence'
const results = await Promise.sequence([
() => new Promise(...),
() => new Promise(...)
]);