Skip to content

Why didn't I add multiple middleware at a time? #133

@myfreax

Description

@myfreax

I kown you can add function addAll to MiddlewareBuilder. But I have found it in MiddlewareBuilder. Why not add this function. I don't want to invoke add function every time

example

Map<ActionName, MiddlewareHandler<HomeState, HomeStateBuilder, HomeActions, dynamic>> other ={
  HomeActionsNames.homeIncreaseAsync:_homeIncrease,
};
MiddlewareBuilder..addAll(other)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions