- From: Mattias Buelens <notifications@github.com>
- Date: Fri, 13 Nov 2020 03:59:22 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 November 2020 11:59:35 UTC
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