Function createAsyncReducer
- createAsyncReducer<T>(thunk: T): ReducerWithInitialState<AsyncReducerState<T>>
-
Type Parameters
-
T extends AsyncThunk<any, any, any>
Returns ReducerWithInitialState<AsyncReducerState<T>>
- createAsyncReducer<T, A>(thunk: T, clearAction: A): ReducerWithInitialState<AsyncReducerState<T>>
-
Type Parameters
-
T extends AsyncThunk<any, any, any>
-
A extends TypedActionCreator<string, A>
Returns ReducerWithInitialState<AsyncReducerState<T>>