Skip to content

Commit

Permalink
Update: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
lexich committed Dec 17, 2015
1 parent 1cc2072 commit 6a1c9af
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,25 @@ function (state, action) {
}
```

####postfetch
- @description: you can organize chain of calling events after the current endpoint will be successful executed
- @type: Array<Function>
- @default: null
- @example:
```js
{
user: "/user/info",
logout: {
url: "/user/logout",
postfetch: [
function({data, dispatch, getState}) {
dispatch(actions.user.reset());
}
]
}
}
```

####validation (data, callback)
- @param **data** - response data
> type: Object
Expand Down

0 comments on commit 6a1c9af

Please sign in to comment.