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

From IRC: I think the big advantage in using abort signals somehow is that we're slowly modifying more and more APIs to accept them. It would be unfortunate to have to make them accept a distinct timeout parameter.

Now, if we did do something like `TimeoutSignal` it would require updating those APIs to make them account for alternative reasons (and use "TimeoutError"), but seems surmountable (and might also set us up better if we need another one of these in the future).

-- 
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-790614772

Received on Thursday, 4 March 2021 13:23:57 UTC