Re: [streams] Define "tee"ing a stream (#271)

Our underlying gecko primitives default to providing back pressure in this particular scenario.  I'd like to be able to default to back pressure to make implementation easier and more efficient.

Of course, an unfortunate side effect of using back pressure here is that it makes GC observable:

1) `stream2 = stream1.tee();`
2) Read `stream1` until it stalls.
3) Throw away `stream2`.
4) When GC collects `stream2`, then `stream1` unblocks.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/271#issuecomment-74898322

Received on Wednesday, 18 February 2015 16:44:58 UTC