- From: Robert Kieffer <notifications@github.com>
- Date: Tue, 18 May 2021 15:19:30 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 18 May 2021 22:19:45 UTC
Thanks for the quick replies and the explanations here. I do appreciate the time and effort you folks put into these standards. That said, having made an earnest attempt to use this API I ended up going with the following utility method. It's just easier / simpler to use... unfortunately. ```javascript function createAbortable() { const signal = { aborted: false }; return { signal, abort: () => { signal.aborted = true; } }; } ``` Read into this what you will, I guess. 🤷 -- 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/981#issuecomment-843602815
Received on Tuesday, 18 May 2021 22:19:45 UTC