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

Promise support #1104

Closed
ghost opened this issue Apr 26, 2017 · 3 comments
Closed

Promise support #1104

ghost opened this issue Apr 26, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Apr 26, 2017

Hi,
Any plan to support async/await feature? currently socket.emit returns socket object but adding Async functions that return Promise would help a lot in writing cleaner code.

@darrachequesne
Copy link
Member

@aryaei No plan currently. Maybe a wrapper around the current API could be provided. If anyone wants to contribute!

@emcee-ai
Copy link

socket.io-as-promised looks interesting. Not widely used as far as I can see.

@darrachequesne
Copy link
Member

Closed due to inactivity, please reopen if needed.

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

2 participants