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

> Having thought about it while writing the above, my gut-preference is for method(s) on the request object.

Personally, I'm in favor of that solution and it's also how it's typically implemented in other languages. I don't mind having programmers type a little more if they need abort functionality.

I'm also fine with the solution @jar-ivan suggested:

```js
request(uri, {
  cancel: somePromise
})
```

Where `somePromise` fulfilling cancels the request.

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

Received on Wednesday, 4 January 2017 17:53:29 UTC