Re: [whatwg/dom] Add AbortSignal.any() (PR #1152)

> Edit: Oh, I see that the garbage collection explicitly covers this case. My bad. IIUC an implementation might fulfill that requirement by making the dependent signals a strong set, and removing signals from it when they are aborted. But I guess that is an implementation detail.

Yep, that's right. When implementing the prototype, I started with strong sets to make sure everything was working, then implemented memory management/weakness on top.

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

Message ID: <whatwg/dom/pull/1152/c1535457259@github.com>

Received on Thursday, 4 May 2023 21:52:25 UTC