-
-
Notifications
You must be signed in to change notification settings - Fork 327
implemented stream pause/resume #180
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
base: main
Are you sure you want to change the base?
Conversation
@isaacs are you going to merge this? |
This would be great. Any problems with PR? |
Would be very useful when processing large XML files in GUI app. Having this function would allow pausing the stream, update the UI, and resume. Especially important on mobile, with React Native. |
NO PATCHES WITHOUT A TEST TEST MUST PASS WITH THE PATCH. TEST MUST FAIL WITHOUT THE PATCH. NO EXCEPTIONS. So... where’s the tes case? |
This is a dead repo. Why would he bother adding tests when it's never going to be merged? |
If interested then I’m sure @isaacs might accept you as an owner/contributor . I never saw that request... don’t be shy guys. |
b3f255f
to
263276a
Compare
Streams starting with node 0.10 are expected to implement the stream.pause method See https://nodejs.org/api/stream.html#stream_compatibility_with_older_node_js_versions
263276a
to
34d2bdf
Compare
@isaacs are you looking for help maintaining this module? |
Please add this :) @isaacs |
stream can now be paused (i was getting an oom with a huge xml file, when i was not processing fast enough)