Re: [ServiceWorker] Backpressure on fetch integrated with Streams (#452)

My current understanding is that `.bodyUsed == true` means that "someone is using the stream and you can't use it now". It is different from EOF, `.bodyUsed` turns true even if being read from `.text()` and `.bodyUsed` stays false when there are not data and the stream is closed but nobody used the stream yet.

We are talking about "stream lock" at https://github.com/whatwg/streams/issues/241, and my plan is that `.bodyUsed` is `stream.isLocked`.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/452#issuecomment-65218192

Received on Tuesday, 2 December 2014 11:38:44 UTC