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

Thoughts that I have reading this:

Promise cancellation has a couple of problems:
# Side effects: which side effects are supposed to happen when a promise is canceled?
# Timing: if a promise is canceled, but then a new dependent appears, what is supposed to happen?

The controller pattern proposed is similar to, but more restricted than, the Context pattern used in Go (https://godoc.org/golang.org/x/net/context) -- would that be usable here?

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

Received on Monday, 6 July 2015 22:00:46 UTC