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

Some of that example code looks dubious. Wouldn't you have to do this? For a long-polling usecase:

```
if (currentFetch) { currentFetch.cancel(); }
const fetchPromise = fetch(...);
fetchPromise.then(parseResponse).then(processResult);
currentFetch = fetchPromise;
```

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

Received on Friday, 29 January 2016 20:47:58 UTC