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 authored and daviddias committed Dec 10, 2017
1 parent 0444c42 commit 558017d
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 558017d

Please sign in to comment.