- From: Adam Rice <notifications@github.com>
- Date: Sun, 15 Jan 2017 20:43:47 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 16 January 2017 04:44:20 UTC
> I guess it would be observably different in that the readable stream might become canceled sooner. Which is probably a good thing. So, specifically, we get different behaviour when the underlying sink on the end of a pipe calls `controller.error()` without immediately rejecting the promise returned from `write()`. Back propagation starts sooner, meaning that earlier pipeTos can be rejected before that write completes. I think this doesn't matter, because 1. The call to `controller.error()` implies that the write is never going to do anything useful, however long it takes. 2. Using the normal `readable.pipeThrough(transform).pipeTo(writable)` syntax no-one is observing the result of any `pipeTo()` but the last one anyway. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/644#issuecomment-272772931
Received on Monday, 16 January 2017 04:44:20 UTC