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

@jasnell yeah, that's the approach I've been taking, but again, it's easy to forget to add the `?` and discover a bug later on as a result.

In my mind, an `AbortSignal.none()` is the companion to `AbortSignal.abort()` in the same way that `Promise.resolve()` is the companion to `Promise.reject()`.

@keithamus oh yes, it's definitely possible to do `new AbortController().signal`, that's a good call. :+1:

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

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

Received on Tuesday, 9 April 2024 23:44:05 UTC