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

@jakearchibald Oh right, refcount-starts-at-0 again. I think you're right.

I think this all leads to the guideline that, if you have a `CancellablePromise` `parent` and a `child = parent.then(...)`, then if you want to be able to create more children in the future, before you hand `child` out to code that might cancel it, you have to create and hold onto your own `child=parent.then()` until you're sure you're done creating children. When storing `parent` in a cache, you might just write `parent.then()` and throw away the result to permanently disable cancellation. Right?

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

Received on Friday, 27 March 2015 16:43:21 UTC