Re: [fetch] Aborting a fetch (#27)

@WebReflection it's entirely possible to add it as long as you add a `.toPromise` on it and have it play nice - that said I'm not sure it's a good idea.

###Some information I think should be collected

 - It would be great to have @kriskowal's feedback on cancellation, he has spent a considerable amount of time investigating it.
 - Having opinions from people from other platforms who have implemented cancellation before would be really great. Scala has cancellation, so does C# and a bunch of other languages. 
 - Having people with deep understanding of the topic like Erik Meijer voice their opinion would be interesting @headinthebox 
 - Having people who've build big libraries using current cancellation semantics - I know Petka talked to big bluebird users and they had interesting insights. 

Personally: I'm not a fan of conflating promises with cancellation from a conceptual point of view but I'm also in favor of a pragmatic solution. I find cancellation terrifying - it's like a ThreadAbortException oThings since it stops an ongoing operation. A promise represents the _result_ of an operation and not hte action itself and suddenly the promise has to be aware of the actual work being done and that's really bad conceptually. That said like `fetch` need this ability for sure.


---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/27#issuecomment-88062467

Received on Tuesday, 31 March 2015 12:07:48 UTC