- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 15 Jul 2025 02:52:18 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 15 July 2025 09:52:22 UTC
annevk left a comment (whatwg/dom#1389) I suppose. If you define `async getData` that takes a signal. And internally it uses `async getDataInternal` that also takes a signal. It could pass the outer signal to `getDataInternal` and await `getDataInternal` to see if it gets an AbortError or some kind of success and based on that decide to return or throw for `getData`. It's a choice of course whether it wants to wait for `getDataInternal`, but there's nothing we can really do about that I think. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1389#issuecomment-3072953777 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1389/3072953777@github.com>
Received on Tuesday, 15 July 2025 09:52:22 UTC