Re: [whatwg/fetch] Add a `timeout` option, to prevent hanging (#951)

@annevk I found this issue so much better and focused than https://github.com/whatwg/fetch/issues/20.

Really great arguments by @ianstormtaylor as well :clap:

https://github.com/node-fetch/node-fetch has just gone ahead and implemented this already.

I'd like to make a point about newcomers. Once the need for a timeout appears, the logical thing is to put a `timeout` in the `init` object. Not to wrangle with `signal`, `AbortController`, or `serviceWorker`.

In my opinion, this issue would be better for implementer interest than the other.

-- 
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/fetch/issues/951#issuecomment-576021048

Received on Sunday, 19 January 2020 16:21:50 UTC