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

Return promise for .listen #287

Closed
leonp-s opened this issue Dec 8, 2019 · 0 comments
Closed

Return promise for .listen #287

leonp-s opened this issue Dec 8, 2019 · 0 comments

Comments

@leonp-s
Copy link

leonp-s commented Dec 8, 2019

Hi, I am currently wondering if it would be possible to return a promise for the .listen function. I am trying to catch errors using a try catch and await but the process keeps exiting.

  • I am creating the error by running 2 servers on the same machine.
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