agraboso / agraboso/redux-api-middleware

Feature Request: abort request with AbortController signal

未關閉
#187 9 則留言 7 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement help wanted
主要語言
JavaScript
星號
1.5k
分支
190
PR 合併指標
30 天內沒有已合併 PR

描述

Most probably not a small set of developers had run into wanting to abort an ongoing fetch call. For instance an autocomplete input that makes requests as key events are happening, even with a debouncer.

Now in most browsers [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) API is available in order to fulfill this task.

This issue is an open question for the community if there's interest in including this feature and what we could achieve. I think an extension of `RSAA` is needed at least.

What do you guys think? I could definitely set up some code proposals or tests in the next days if this idea gains traction 😃

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。