agraboso/redux-api-middleware

Feature Request: abort request with AbortController signal

Open

#187 建立於 2018年5月30日

在 GitHub 查看
 (9 留言) (7 反應) (0 負責人)JavaScript (1,487 star) (202 fork)batch import
enhancementhelp wanted

描述

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

貢獻者指南

Feature Request: abort request with AbortController signal · agraboso/redux-api-middleware#187 | Good First Issue