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

fix(pubsub): subscribe promises #1141

Merged
merged 1 commit into from
Dec 10, 2017
Merged

fix(pubsub): subscribe promises #1141

merged 1 commit into from
Dec 10, 2017

Conversation

richardschneider
Copy link
Contributor

Pubsub.subscribe was not returning a Promise when the callback argument was not specified.

Tests are in ipfs-inactive/interface-js-ipfs-core#181

Should resolve ipfs-inactive/interface-js-ipfs-core#174, #1137 and #1129

@ghost ghost added the status/in-progress In progress label Dec 10, 2017
@richardschneider
Copy link
Contributor Author

richardschneider commented Dec 10, 2017

@negamaxi your comment was correct.

@daviddias daviddias merged commit 558017d into master Dec 10, 2017
@daviddias daviddias deleted the pubsub-promise branch December 10, 2017 09:29
MicrowaveDev pushed a commit to galtproject/js-ipfs that referenced this pull request May 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pubsub unsubscribe callback
2 participants