Re: [fetch] Aborting a fetch (#27)

If this helps, we are currently using in production a [fork of fetch()](https://github.com/optimdata/fetch) that adds an `abort()` method to the request object. It works as such:

```js
// Creating a request instance
var request = fetch(url, params);
// Calls to request.then() return the request object and internally update the promise
request.then(doSomething);
// Calls to request.abort() simply abort the request
request.abort();
```

No need to update promises…


---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/27#issuecomment-177998096

Received on Monday, 1 February 2016 14:41:42 UTC