You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 31, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Oct 31, 2018. It is now read-only.
Pausing internally gets overridden by downstream streams #11
Ah, so it must be that stdout is emitting resume too often.
If stdout says it can handle data, then that is it's business though.
Pause is just for stopping the flow if the dest has more than it can handle.
If you are trying to do something else, like just block output...
That should be a different module.
It might be better to add another method hardPause which totally prevents output...
Activity
ForbesLindesay commentedon Apr 6, 2013
Can be worked around with code like:
dominictarr commentedon Apr 6, 2013
cool, that may be desired is some use-cases, depending on how the dest emits 'resume'.
You should publish this as an npm module!
ForbesLindesay commentedon Apr 6, 2013
Will do, was just thinking perhaps this should be part of how the core of through works?
dominictarr commentedon Apr 7, 2013
what version of node are you using?
ForbesLindesay commentedon Apr 7, 2013
0.8, I'm looking to update to 0.10 soon, but I need to find time to re-test my apps.
dominictarr commentedon Apr 7, 2013
Ah, so it must be that stdout is emitting resume too often.
If stdout says it can handle data, then that is it's business though.
Pause is just for stopping the flow if the dest has more than it can handle.
If you are trying to do something else, like just block output...
That should be a different module.
It might be better to add another method
hardPausewhich totally prevents output...