Re: [whatwg/dom] Consider adding AbortController.prototype.follow(signal) (#920)

> What would be the use case for unfollowing a signal?

Imagine 2 http requests that should be aborted by timeout. First request successfully passed, and in that case we want to wait second request anyway to have app in some desired state. if second request's abort controller is following the first one, it will be aborted by timeout.

I just want to highlight that is followed AbortControllers are passed as constructor arguments, there is no way to unfollow them.

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

Message ID: <whatwg/dom/issues/920/1153117489@github.com>

Received on Sunday, 12 June 2022 09:50:34 UTC