Skip to content

Make socket.on/socket.addListener chainable #81

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

Open
erhhung opened this issue Sep 18, 2014 · 1 comment
Open

Make socket.on/socket.addListener chainable #81

erhhung opened this issue Sep 18, 2014 · 1 comment

Comments

@erhhung
Copy link

erhhung commented Sep 18, 2014

It would be nice to make socket.on/socket.addListener chainable like EventEmitter, so we can write:

socket
  .on('event1', handler1)
  .on('event2', handler2)
  ...
jacek-pulit added a commit to jacek-pulit/angular-socket-io that referenced this issue Oct 15, 2015
@erhhung
Copy link
Author

erhhung commented Apr 27, 2016

Can we get this fix merged? It's so trivial an omission of a return statement...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant