Re: [whatwg/fetch] Aborting a fetch: The Next Generation (#447)

@getify it would return a standard promise, but that promise in fact would not have a `.cancel` so cancellation is on the original fetch:

```js
var request = fetch("/foo");
var data = request.then(x => x.json());
request.cancel(); // this aborts the request
data.cancel(); // TypeError: data.cancel is not a function
```

Again, this is just a proposal for extension in the future - and mainly to demonstrate that we can alter the controller API and built on top of it in the future. 

-- 
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-275106493

Received on Wednesday, 25 January 2017 13:24:14 UTC