- From: Yutaka Hirano <notifications@github.com>
- Date: Tue, 02 Dec 2014 03:38:15 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 2 December 2014 11:38:44 UTC
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