- From: James M Snell <notifications@github.com>
- Date: Mon, 06 Dec 2021 15:43:53 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 6 December 2021 23:44:06 UTC
@annevk: > If you can invoke that method multiple times, do we need cancel() or should passing 0 or null be sufficient to clear it? We'd still want the `close()` (née `cancel()`) because it's actually doing more than clearing the timeout. It's signaling internally to its `AbortSignal` that it won't ever trigger it from that point forward, and that the `AbortSignal` can clear it's set of abort algorithms. Anything downstream that might follow the `AbortSignal` would see `signal.closed = true` and know that they don't actually need to follow the signal since it won't be triggered. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1039#issuecomment-987375976
Received on Monday, 6 December 2021 23:44:06 UTC