A ThunkAction created by createAsyncThunk. Dispatching it returns a Promise for either a fulfilled or rejected action. Also, the returned value contains an abort() method that allows the asyncAction to be cancelled from the outside.
createAsyncThunk
abort()
A ThunkAction created by
createAsyncThunk
. Dispatching it returns a Promise for either a fulfilled or rejected action. Also, the returned value contains anabort()
method that allows the asyncAction to be cancelled from the outside.