Skip to content

Commit

Permalink
doc(README): api doc for ApplyMiddlewares
Browse files Browse the repository at this point in the history
  • Loading branch information
mattak committed Jun 26, 2017
1 parent 9601dfd commit 8e6e122
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static class Count
{
public ActionType ActionType;
}

// ActionCreators creates actions and deliver payloads
// in redux, you do not dispatch from the ActionCreator to allow for easy testability
public static class ActionCreator
Expand Down Expand Up @@ -231,6 +231,11 @@ Get the state as passed to the constructor.
Dispatch an event of `TAction` object,
which will trigger a `Reducer<TAction>`.

### `<Store>.ApplyMiddlewares(params Middleware[] middlewares)`

Apply middlewares to Store object
which implement delegate function of [Middleware](Assets/Plugins/Unidux/Scripts/IMiddleware.cs#L5).

### `<Store>.Update()`

When at least one reducer has been executed,
Expand Down

0 comments on commit 8e6e122

Please sign in to comment.