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 connection.pause() and connection.resume() #14

Open
hugmanrique opened this issue Apr 20, 2018 · 0 comments
Open

Add connection.pause() and connection.resume() #14

hugmanrique opened this issue Apr 20, 2018 · 0 comments

Comments

@hugmanrique
Copy link

This is extremely useful if you want to throttle the reading of the data. This esentially pauses all the data events until .resume() is called on the connection.

Node net.Socket reference:
https://nodejs.org/api/net.html#net_socket_pause
https://nodejs.org/api/net.html#net_socket_resume

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