oberknecht-emitters
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -88,5 +88,3 @@ const { expectedEventName: expectedEventName_ } = require("oberknecht-utils"); | ||
if (!i.actionEmitterData[this.symbol].isWorkingHard) { | ||
this.next(item.sym); | ||
} | ||
if (!i.actionEmitterData[this.symbol].isWorkingHard) this.next(item.sym); | ||
}); | ||
@@ -101,6 +99,2 @@ }; | ||
if (!item) { | ||
return console.error("item not found", i.actionEmitterData[this.symbol].queue); | ||
}; | ||
item.inQueue = true; | ||
@@ -110,3 +104,3 @@ item.fn(item.args); | ||
item.timedOut = true; | ||
return item.reject(Error("action timed out")); | ||
return item.reject(Error(`action timed out\n${JSON.stringify(item)}`)); | ||
}, this.timeout); | ||
@@ -113,0 +107,0 @@ |
{ | ||
"name": "oberknecht-emitters", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
25116
206