- From: Takeshi Yoshino <notifications@github.com>
- Date: Thu, 27 Nov 2014 01:05:51 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 27 November 2014 09:06:21 UTC
Had some chat with ServiceWorker team (horo) about `.clone()` handling when ReadableStream's `read()` is used. I think new Request/Response created by `.clone()` would have a ReadableStream and, - data already read from the ReadableStream of the original Request/Response is not read from one of the new Request/Response - data not read yet are mirrored to both ReadableStream regardless of whether the chunk is already queued to the ReadableStream's queue at the time of `.clone()` call or not - `.cancel()` call on one of the ReadableStreams doesn't affect the other Do these make sense to you? --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/452#issuecomment-64762809
Received on Thursday, 27 November 2014 09:06:21 UTC