JSPM

@themost/promise-sequence

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 161
  • Score
    100M100P100Q79578F
  • License BSD-3-Clause

Execute promises in series

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-sequence

Execute an array of promises:

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