- From: Stuart P. Bentley <notifications@github.com>
- Date: Tue, 31 Jan 2017 23:00:39 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 1 February 2017 07:01:19 UTC
To more pithily convey the sort of thing what I'm describing would allow:
```js
addEventListener('fetch', event => {
event.respondWith(
fetch(event.request, {
/* FetchFollowingController can be polyfilled,
and can ALSO be implemented natively,
in which case abort propagation can happen
behind the scenes and not have to block on JS */
control: new FetchFollowingController(event.fetchObserver)
})
);
});
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/447#issuecomment-276586924
Received on Wednesday, 1 February 2017 07:01:19 UTC