- From: Jeffrey Yasskin <notifications@github.com>
- Date: Thu, 26 Mar 2015 10:04:54 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
Received on Thursday, 26 March 2015 17:05:31 UTC
@jakearchibald, in your proposal, it looks like `p.then()` increments the refcount, but `Promise.resolve(p)` doesn't? And that promises start out with a 0 refcount, so that you don't have to also `abort()` the initial `fetch()`? This seems odd to me, although it gets around the need to expose GC. Does any of this flow through to the `async`/`await` syntax, or do you have to manipulate the promises directly to use cancellation? I'm also worried about subsequent uses of the original promise hanging instead of rejecting. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/27#issuecomment-86626772
Received on Thursday, 26 March 2015 17:05:31 UTC