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

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

It leaves the door open for cancellation tokens, which provide a better solution for service workers and response methods like `response.json()`. In the meantime, if developers want to cancel the response, they can use the already-available streaming methods rather than the helper functions like `response.json()`.

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

Received on Wednesday, 4 January 2017 17:25:05 UTC