Re: [whatwg/dom] Userland AbortSignal (Issue #1195)

We (node) shipped (are shipping) our own helper to add a listener without the stopImmediatePropagation issue as since Node is a server runtime a resource leak is potentially catastrophical for us. We'll hopefully also add a resource argument for it so it holds the listener weakly on the resource but that's planned for later.

> If AbortSignal becomes the standard for cancelation across the entire ecosystem, it shouldn't have this fragility built into it.

I honestly wish I would have listened better to library authors when they were complaining about this before adding it to Node APIs but I think this is mostly blocked in the WHATWG side on someone doing the spec work to fix this API wise.

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

Message ID: <whatwg/dom/issues/1195/1620123515@github.com>

Received on Tuesday, 4 July 2023 12:05:26 UTC