Re: [whatwg/fetch] Add timeout option (#20)

`AbortSignal.timeout` looks great, thanks to everyone who worked on speccing this!

```ts
// Fetch the URL, cancelling after 8 seconds
fetch(url, { signal: AbortSignal.timeout(8000) });
```

Apparently [available in Chrome 103 beta](https://blog.chromium.org/2022/05/chrome-103-beta-early-navigation-hints.html#:~:text=abortsignal.timeout()%20static%20method)!!

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/20#issuecomment-1139486745
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/20/1139486745@github.com>

Received on Friday, 27 May 2022 10:23:50 UTC