- From: jan-ivar <notifications@github.com>
- Date: Fri, 15 May 2015 06:31:53 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Friday, 15 May 2015 13:32:19 UTC
> @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. That's still action at a distance. It effectively means that if I do `var p = fetch(url);` and I want to be able to cancel the fetch then I can't send `p` to anyone! var p = fetch(url); foo(p); p.cancel(); // Will this cancel the fect? Depends what foo does! That seems broken. Just because I'm calling `foo` doesn't mean I want to grant it that power. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/27#issuecomment-102398056
Received on Friday, 15 May 2015 13:32:19 UTC