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

Remove callback from handleProtocols #890

Merged
merged 1 commit into from Nov 15, 2016

Conversation

lpinca
Copy link
Member

@lpinca lpinca commented Nov 13, 2016

Right now handleProtocols takes a callback which must be called synchronously by the developer with two arguments: the outcome of the operation and the selected protocol.

I think it makes sense to remove the callback argument and use the returned value instead.

@lpinca
Copy link
Member Author

lpinca commented Nov 15, 2016

@websockets/admin WDYT?

@3rd-Eden
Copy link
Member

@lpinca Sorry, I thought I already pressed the merge button.

@3rd-Eden 3rd-Eden merged commit 109db7f into master Nov 15, 2016
@3rd-Eden 3rd-Eden deleted the remove/handle-protocols-callback branch November 15, 2016 17:01
@lpinca
Copy link
Member Author

lpinca commented Nov 15, 2016

No problem.

@lpinca lpinca mentioned this pull request Dec 12, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants