Re: [streams] Never-released lock / getReader({unreleasable: true}) (#358)

> I would rather not have lock variants, where sometimes locks are auto-unlocking on closed/errored and sometimes they stay locked forever. I think it would be OK to have _all_ locks stay locked after error/closed

I see, but introducing _unreleasable lock_ has a problem that we easily lose the ability to access state / error by accident. I now think https://github.com/yutakahirano/fetch-with-streams/issues/37#issuecomment-108151055 is good for general stream even if it is not used to support `bodyUsed`.

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

Received on Tuesday, 9 June 2015 00:56:36 UTC