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

If we already have
```
var timeoutID = setTimeout(function(){}, 10);
clearTimeout(timeoutID)
```

Why not simply do
```
var promiseObjectAsID = fetch(url);
promiseObjectAsID.then(function(){}, function(){});
cancelFetch(promiseObjectAsID)
```

Is it because we don't want another global variable like `cancelFetch`?

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

Received on Tuesday, 6 June 2017 17:36:30 UTC