Type alias DispatchMiddleware<State, Dispatcher>
DispatchMiddleware<State, Dispatcher>: ((provider) => ((dispatch) => Dispatcher["dispatch"]))
Type declaration
- (provider): ((dispatch) => Dispatcher["dispatch"])
Returns ((dispatch) => Dispatcher["dispatch"])
- (dispatch): Dispatcher["dispatch"]
Parameters
dispatch: Dispatcher["dispatch"]
Returns Dispatcher["dispatch"]
Middleware to apply to a MessageDispatcher.