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

Right. To be clear, the impact on `Response` would be that:

```js
var s = res.body;
var res2 = res.clone();

var s1 = res.body;
var s2 = res2.body;

assert(s !== s1);
assert(s !== s2);
assert(s1 !== s2);

// s is locked (cannot be really used)
// s1, s2 are unlocked and usable
```

I think it is totally OK for `res.body` to change as a side-effect of calling `res.clone()`. There's a clear method mutation going on; it's not as if `res.body !== res.body` ever holds.

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

Received on Thursday, 19 March 2015 06:33:02 UTC