es6-promise-pool
Advanced tools
Comparing version 2.4.2 to 2.4.3
{ | ||
"name": "es6-promise-pool", | ||
"version": "2.4.2", | ||
"version": "2.4.3", | ||
"description": "Runs Promises in a pool that limits their concurrency.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -158,3 +158,3 @@ # ES6 Promise Pool | ||
// - promise: the Promise that got fulfilled | ||
// - result: the result of that Promise. | ||
// - result: the result of that Promise | ||
console.log('Fulfilled: ' + event.data.result) | ||
@@ -168,3 +168,3 @@ }) | ||
// - promise: the Promise that got rejected | ||
// - error: the Error for the rejection. | ||
// - error: the Error for the rejection | ||
console.log('Rejected: ' + event.data.error.message) | ||
@@ -199,3 +199,3 @@ }) | ||
- [Bluebird](https://github.com/petkaantonov/bluebird) includes | ||
[`Promise.map()`](https://github.com/petkaantonov/bluebird/blob/master/API.md#mapfunction-mapper--object-options---promise), | ||
[`Promise.map()`](http://bluebirdjs.com/docs/api/promise.map.html), | ||
which takes a `concurrency` option. | ||
@@ -202,0 +202,0 @@ - Similarly, [λ (a.k.a. contra)](https://github.com/bevacqua/contra) has |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15763