- From: Benjamin Gruenbaum <notifications@github.com>
- Date: Wed, 04 Jan 2017 09:52:36 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 4 January 2017 17:53:29 UTC
> 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