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

I believe timeout logic belongs to the userland. Any browser async callback potentially can be postponed to forever. I can't imagine handling everything feature by feature. Maybe I am overlooking something and maybe it can be useful to cancel request but as far I understand it, Promise like API cancelation is breaking the promise itself. 

https://gcanti.github.io/fp-ts-contrib/modules/Task/withTimeout.ts.html

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

Received on Sunday, 13 October 2019 02:54:48 UTC