- From: Takeshi Yoshino <notifications@github.com>
- Date: Thu, 19 Mar 2015 01:52:56 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Thursday, 19 March 2015 08:53:24 UTC
Or more generally, it might be named `controller`. ``` Promise<Response> fetch( RequestInfo input, optional RequestInit, optional controllerReceiver); ``` ``` let controller; fetch(url, {}, controller_ => { controller = controller_; }); ... controller.abort(); ``` It seems it's not appropriate to include the controller revealer to `RequestInit` since it's associated with each `fetch()` operation invocation. Not with each `Request` object. So, maybe, as a third parameter (or in the third parameter which is a dictionary). --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/592#issuecomment-83426623
Received on Thursday, 19 March 2015 08:53:24 UTC