Re: [streams] First draft at tee algorithms, for critique (#302)

> Why can't body be a wrapper around a concrete stream? Then clone() would swap out the underlying stream, but the external users of .body would not be able to observe it.

It's an interesting idea. The wrapper has

 - cancel()
 - getReader()
 - pipeTo()
 - pipeThrough()

methods but doesn't have `tee()`, right?
That's possible at the fetch API level and I like it.


---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/302#issuecomment-83834399

Received on Friday, 20 March 2015 01:01:33 UTC