A Request object is needed to fetch. A Response object is the result. fetch() starts the process. How do we control it?
fetch(req); req.abort()var f = fetch(req); f.abort()(subclassing promises seems to clash with upcoming async/await syntax)fetch(req, handle(a) { a() })fetch(req, { control:true }).then(con) { con.abort() }(fetch()would resolve immediately; control object would also havecon.responseor some such returning a promise)var c = req.send(); c.abort() }(get the control object synchronously)fetchRegistry.last.abort()(have some kind of global registry for all fetches made within the environment)
fetch(req).abort()but with an attribute to the response promise likefetch(req).ready.then().