RubyGems
npm
Organizations
Log in
Sign up
npm
@hyperingenuity/events
Versions diffs
0.4.2 → 0.4.3
@hyperingenuity/events 0.4.2 → 0.4.3
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
package/index.js
+1
-1
package/package.json
+1
-1
package/index.js
CHANGED
Viewed
@@ -233,7 +233,7 @@ class EventBus {
233
233
234
234
if (callbacks.size) {
235
235
for (const callback of callbacks) {
236
-
process.nextTick
(() => {
236
+
setImmediate
(() => {
237
237
try {
238
238
return callback(event, contexts.get(callback), this.$shared);
239
239
} catch (error) {
package/package.json
CHANGED
Viewed
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@hyperingenuity/events",
3
-
"version": "0.4.
2
",
3
+
"version": "0.4.
3
",
4
4
"description": "JavaScript Event Emitter Library",
5
5
"main": "index.js",
6
6
"repository": "git@github.com:mdbarr/events.git",