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

> As @getify has been arguing all along, and as @benjamingr quoted @kriskowal ("If any dependee cancels a promise, it would be able to interfere with future dependees"), a promise represents a end result (or an error that occurred in trying to get that result). You should be able to freely pass that promise of a result around without fear of one consumer ruining the party for everyone else (i.e. tight coupling, which we all despise). The promise should absolutely remain externally immutable.

@appden Promise cancellation isn't planned to be like this at all. If you have many consumers for something, then all of them need to cancel for the operation to be cancelled. But if you have say only 1 canceller and 2 other consumers and the operation completes, the 1 canceller won't get their callbacks called (the cancellation was successful as far as they were concerned).

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

Received on Friday, 15 May 2015 05:46:54 UTC