Re: [whatwg/dom] Proposal: AbortSignal.none() (Issue #1277)

One way to create such a signal is `new AbortController().signal` but that does create an object only to have to clean it up. 

`new AbortSignal()` throws. In theory that could create a never-aborting signal. Relatedly https://github.com/whatwg/dom/issues/1162 discusses the ideas of subclassing signals, which would likely mean lifting the exception from AbortSignal. 

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

Message ID: <whatwg/dom/issues/1277/2046194622@github.com>

Received on Tuesday, 9 April 2024 23:28:24 UTC