Version 0.6.5
Add async helpers #17
{
logger: "/api/logger",
test: {
url: "/api/test/:name/:id",
helpers: {
// complicated async logic
async() {
const {dispatch} = this;
return (cb)=> {
dispatch(rest.actions.logger((err)=> {
const args = [{id: 1, name: "admin"}];
cb(err, args);
}));
};
}
}
}
}