- From: jan-ivar <notifications@github.com>
- Date: Fri, 15 May 2015 10:00:21 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Friday, 15 May 2015 17:00:47 UTC
@petkaantonov then you can overload .then() to do what you want, and we should be done. ;-) Trying to prevent footguns is different from preventing holdups. How much I trust `foo` is up to me, but that's no reason to break down guarantees further, and why immutable promises is a good thing. The system should help `foo` behave, not put out trip wires. This example is perhaps better, so thanks for pointing that out: var p = fetch(url); p.then(() => foo()); p.cancel(); // Will this cancel the fetch? Depends on what foo does! --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/27#issuecomment-102458909
Received on Friday, 15 May 2015 17:00:47 UTC