- From: Yutaka Hirano <notifications@github.com>
- Date: Tue, 20 Jan 2015 06:10:16 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 20 January 2015 14:10:42 UTC
@wanderview ReadableStream has "exclusive reader" concept https://streams.spec.whatwg.org/#reader-class that corresponds to `.locked` in my text. If we use `.bodyConsumed` as `used flag`, we also use `.locked`. Then any other reader cannot read the body, so I think the existing behavior will be preserved (though the spec needs to be updated). Note: I'm not fully convinced to use `.bodyConsumed`. https://github.com/slightlyoff/ServiceWorker/issues/452#issuecomment-56145980 and https://github.com/slightlyoff/ServiceWorker/issues/452#issuecomment-56147654 look also reasonable as I said before. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/452#issuecomment-70658228
Received on Tuesday, 20 January 2015 14:10:42 UTC