Re: [whatwg/dom] Expose an `aborted` promise on AbortSignal? (#946)

Yeah, I'm aware of that, but you can't rely on `once` here because you also need to remove the listener when the task is complete. And yes, you can use another signal to remove the listener, but that would be more code in this case, no?

-- 
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/946#issuecomment-846002010

Received on Friday, 21 May 2021 14:44:25 UTC