Re: [whatwg/dom] Introduce AbortSignal.timeout() (PR #1032)

Is this example not realistic?

```js
const signal = AbortSignal.timeout(1_200_000);
signal.addEventListener('abort', () => { throw signal.reason; });
await fetch('http://example.org', { signal });
```


-- 
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/pull/1032#issuecomment-978700972

Received on Thursday, 25 November 2021 01:15:39 UTC