- From: Alexander <notifications@github.com>
- Date: Wed, 14 Oct 2015 01:59:55 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Wednesday, 14 October 2015 09:00:33 UTC
```
var request = new Request('http://example.com');
setTimeout(function() {
request.abort();
}, 10000);
fetch(request);
```
`request.abort` method must throw an exception to prevent then-chain and will be catch in `Promise.prototype.catch`. The problem is only one thing, that after a catch the chain is restored and developer must know it.
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/27#issuecomment-147982906
Received on Wednesday, 14 October 2015 09:00:33 UTC