Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
fix(pubsub): subscribe promises (#1141)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardschneider committed Dec 17, 2017
1 parent a93d4c0 commit decd258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/components/pubsub.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = function pubsub (self) {
}

self._pubsub.on(topic, handler)
setImmediate(() => callback())
setImmediate(cb)
}

if (!callback) {
Expand Down

0 comments on commit decd258

Please sign in to comment.