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

add option to prevent process from exiting immediately on disconnect #90

Open
mistakia opened this issue Apr 27, 2023 · 2 comments
Open

Comments

@mistakia
Copy link

process.exit(1);

The process will currently exit on a disconnect event which is not desirable for my use-case. Not sure what the best approach would be but the main one that comes to mind is to leave this as the default behavior and allow an option on initialization to change this behavior.

@ceddybi
Copy link
Member

ceddybi commented Apr 27, 2023

@mistakia Thank you for pointing that out have you tried using the stoqey/ib library instead ?

@mistakia
Copy link
Author

I have not — I will try that instead. Thanks for the tip.

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