Skip to content
This repository has been archived by the owner on Oct 31, 2018. It is now read-only.

Expected behavior #29

Open
fearphage opened this issue Dec 14, 2014 · 1 comment
Open

Expected behavior #29

fearphage opened this issue Dec 14, 2014 · 1 comment

Comments

@fearphage
Copy link

Shouldn't calling queue on a stream implicitly call pause? The documentation reads that way, but the code and testing do not. Am I just misunderstanding?

My assumption is based on this line from the readme:

  • through takes care of pause/resume logic if you use this.queue(data) instead of this.emit('data', data).
@dominictarr
Copy link
Owner

no, it is not meant to pause the stream, but it won't emit data if it is paused from the outside.
How could this be rephrased to be more clear?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants