Re: [whatwg/dom] Consider adding AbortController.prototype.follow(signal) (#920)

Sorry if the conversation has moved on, but:

> Hmm yeah. I'm not sure you can ever be a followingSignal with your own controller.

I implemented something like this in the browser as well.  For cache.addAll() I needed to abort outstanding requests if one of them failed.  The spec just uses verbiage like "terminate all ongoing fetches with the aborted flag set", but in practice the most direct way to do it was with an internally created AbortSignal and AbortController.  And since I still needed to honor individual request.signal I chained them together with follow.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/920#issuecomment-726884066

Received on Friday, 13 November 2020 17:12:57 UTC