Re: [whatwg/streams] [WritableStream] Locking semantics (#474)

> I think our reasoning is that that was likely to be a programming error, but I am not sure...

OK... Me neither.

We could relax ReadableStream's constraint, too if it turns out to be useful.

In https://github.com/whatwg/streams/pull/488, I've relaxed the constraint for WritableStream. Not the WritableStreamDefaultWriter's releaseLock() doesn't check whether there're pending writes or not. I've added a TODO in the OP to document the difference between RS and WS.

---
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/474#issuecomment-236498616

Received on Monday, 1 August 2016 06:23:28 UTC