- From: Ben Kelly <notifications@github.com>
- Date: Wed, 21 Jan 2015 10:11:34 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Wednesday, 21 January 2015 18:12:16 UTC
> The idea being that .stream() both returns the stream immediately, and then in the background asynchronously kicks off the IPC stuff necessary to start it filling up? I think that makes sense to me now. Now that I understand that we have this initial chunk load, I agree a stream() method makes sense. And I like the concept that request is opaque with a bunch of reify methods like stream() and text() that all set bodyUsed. So devs can think of them all the same way where "call a reify method, it drains the body completely, and so bodyUsed is set". --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/606#issuecomment-70889831
Received on Wednesday, 21 January 2015 18:12:16 UTC