Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: EventEmitter Subscription #35

Merged
merged 15 commits into from
Jul 28, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add TODO.
  • Loading branch information
rakyll committed Jul 24, 2014
commit 673e438123a34cafc2e5a763741fb63d73b6c7c5
1 change: 1 addition & 0 deletions lib/pubsub/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Subscription.prototype.pull = function(opts, callback) {
returnImmediately: !!opts.returnImmediately
};
this.conn.makeReq('POST', 'subscriptions/pull', null, body, function(err, message) {
// TODO(jbd): Fix API to return a list of messages.
if (err) {
callback(err);
return;
Expand Down