Most examples using base redux and redux thunk seem to be aborting by passing in a signal to the fetch. However, I'm iteratively calling a fetch call. Like getBooks pages 1 - 10 in a promise.all, so it's not possible to pass in an abort signal to the fetch API call itself.
Question
Is it possible to abort a dispatched redux thunk dispatch with just redux and redux thunk, no redux toolkit.
createAsyncThunk in Redux toolkit has a .abort function.
Which can abort the dispatch like so
Most examples using base redux and redux thunk seem to be aborting by passing in a signal to the fetch. However, I'm iteratively calling a fetch call. Like getBooks pages 1 - 10 in a promise.all, so it's not possible to pass in an abort signal to the fetch API call itself.
Can vanilla redux + redux thunk abort a dispatch? Or is the only real solution to use redux tookit, or another side-effect manager?