@atlaspack/utils 2.12.1-dev.3502 → 2.12.1-dev.3520

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -33970,7 +33970,7 @@ class $0bcbb32f9919749d$export$2e2bcd8739ae039 {
33970
33970
  return this._queue.length;
33971
33971
  }
33972
33972
  add(fn) {
33973
- return new Promise((resolve, reject)=>{
33973
+ new Promise((resolve, reject)=>{
33974
33974
  let i = this._count++;
33975
33975
  this._queue.push(()=>fn().then((result)=>{
33976
33976
  this._results[i] = result;
@@ -33981,7 +33981,7 @@ class $0bcbb32f9919749d$export$2e2bcd8739ae039 {
33981
33981
  }));
33982
33982
  for (const addFn of this._addSubscriptions)addFn();
33983
33983
  if (this._numRunning > 0 && this._numRunning < this._maxConcurrent) this._next();
33984
- });
33984
+ }).catch(()=>{});
33985
33985
  }
33986
33986
  subscribeToAdd(fn) {
33987
33987
  this._addSubscriptions.add(fn);