Re: [whatwg/dom] Specify that AbortController#abort() be bound to AbortController instance (#981)

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