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

Option to follow Node 0.10 readable stream emit behavior? #74

Closed
UltCombo opened this Issue Nov 2, 2014 · 1 comment

Comments

Projects
None yet
2 participants
@UltCombo

UltCombo commented Nov 2, 2014

Right now, when I create a new stream (e.g. through es.readArray()) it starts emitting data in the nextTick.

I'd like it to follow the Node 0.10 behavior, that is, start the stream paused by default and automatically resume it once an .on('data') listener/.pipe() is attached.

Would this be possible/viable to implement for all methods that return a readable stream?

@right9ctrl

This comment has been minimized.

Collaborator

right9ctrl commented Oct 27, 2018

What's your use case? I'd rather not changing the current behavior if possible.

@right9ctrl right9ctrl closed this Nov 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment