- From: Nicholas C. Zakas <notifications@github.com>
- Date: Tue, 09 Apr 2024 16:44:01 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 9 April 2024 23:44:05 UTC
@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