Re: [whatwg/dom] Add AbortSignal.timeout(ms) (#951)

In previous timeout APIs (i.e., XMLHttpRequest), the caller would get to know why something was aborted. I think that's something we should consider here. Whether `fetch()` should reject with a plain "`AbortError`" `DOMException` or something that indicates it happened as the result of a (self-imposed) timeout.

-- 
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/951#issuecomment-785691460

Received on Thursday, 25 February 2021 07:44:21 UTC