applyMiddleware method
Implementation
@override
Stream<WareContext> applyMiddleware(Stream<WareContext> input) {
return input.asyncMap((context) async {
// if (context.action is ReduxPrivateAction && context.action.packageName != moduleName) {
// return context;
// }
return context.copyWith(await middleware(
context.dispatcher,
ReduxState(moduleName: moduleName, state: context.state),
context.action,
));
});
}