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

> That said, I wouldn't mind having this exposed as `AbortController.prototype.follow(signal)` if there's enough interest. 🙂

Yes please! :) Coming from .NET, I use hierarchical cancellation all the time, it's very handy. I currently do it with [`CancellationTokenSource(linkedTokens?)`](https://github.com/rbuckton/prex/blob/master/docs/cancellation.md#new-cancellationtokensourcelinkedtokens) from @rbuckton's [Prex](https://github.com/rbuckton/prex) for that.

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

Received on Friday, 13 November 2020 11:57:24 UTC