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

implemented stream pause/resume #180

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Cactusbone
Copy link

stream can now be paused (i was getting an oom with a huge xml file, when i was not processing fast enough)

@mstmustisnt
Copy link

@isaacs are you going to merge this?
realy important feature

@Amantel
Copy link

Amantel commented Feb 24, 2018

This would be great. Any problems with PR?

@laurent22
Copy link

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.

@z3dev
Copy link

z3dev commented Jan 17, 2019

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?

@laurent22
Copy link

This is a dead repo. Why would he bother adding tests when it's never going to be merged?

@z3dev
Copy link

z3dev commented Jan 17, 2019

If interested then I’m sure @isaacs might accept you as an owner/contributor . I never saw that request... don’t be shy guys.

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
@faceleg
Copy link

faceleg commented Sep 13, 2020

@isaacs are you looking for help maintaining this module?

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

Successfully merging this pull request may close these issues.

6 participants