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
Sorry about this. The fix for #670 caused some collateral damage. through used to pause the target stream. The fix stopped doing that to fix an incompatibility with node 0.10, but caused this a regression.
Basically, through is implemented in terms of pipe. In 2.x, pipe can synchronously push data through, which can cause data loss if the through stream is un-paused. I will update pipe so that it always pushes data asynchronously.
Here is some example code:
With the following versions, this code logs
"start"
, then exits:With the following versions, this code logs
"start"
, then"done"
, then exits:Further testing is needed on my part to expose some useful details, but I think this is worth opening as-is for the time being.
The text was updated successfully, but these errors were encountered: