promise-throttle-all

Promise.all with limited concurrency

Usage no npm install needed!

<script type="module">
  import promiseThrottleAll from 'https://cdn.skypack.dev/promise-throttle-all';
</script>

README

🤏 Promise Throttle All

Promise.all with limited concurrency

CI license Library minified size git3moji typescript buy-me-a-coffee

Limit in-progress async operations, like running only few API requests at a time

Installation

This library is published in the NPM registry and can be installed using any compatible package manager.

npm install promise-throttle-all --save

# For Yarn, use the command below.
yarn add promise-throttle-all

Installation from CDN

This module has an UMD bundle available through JSDelivr and Unpkg CDNs.

<!-- For UNPKG use the code below. -->
<script src="https://unpkg.com/promise-throttle-all"></script>

<!-- For JSDelivr use the code below. -->
<script src="https://cdn.jsdelivr.net/npm/promise-throttle-all"></script>

<script>
  // UMD module is exposed through the "promiseThrottleAll" global variable.
  console.log(promiseThrottleAll);
</script>

Documentation

Documentation generated from source files by Typedoc.

License

Released under MIT License.