TypedMiddleware<State, Action> constructor
TypedMiddleware<State, Action> (
- void middleware(
- Store<
State> store, - Action action,
- NextDispatcher next
- Store<
Create a Middleware that is only executed when the dispatched action
matches the Action
type.
Implementation
TypedMiddleware(this.middleware);