Re: [whatwg/dom] AbortController, AbortSignal, and garbage collection (#920)

I just realized that if we have #911, this could be simplified(?) to:
```javascript
  // 3. Otherwise, add the following abort steps to parentSignal:
  parentSignal.addEventListener('abort',  () => {
    // 3.1. Signal abort on followingSignal.
    followingAbortController.abort();
  }, {
    once: true,
    signal: followingAbortController.signal
  });
```
It's abort signals all the way down! 😆

-- 
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-726725695

Received on Friday, 13 November 2020 11:59:35 UTC