lib/index.js
function resolveHandler(_ref4) {
  var action = _ref4.action;
  var type = _ref4.type;
  var payload = _ref4.payload;
  var error = _ref4.error;
  return _extends({}, action, { type: type, payload: payload, error: error });
}
function resolveHandler(_ref4) {
  var action = _ref4.action;
  var type = _ref4.type;
  var payload = _ref4.payload;
  var error = _ref4.error;
  return _extends({}, action, { type: type, payload: payload, error: error });
}
function resolveHandler ( _ref4 ) { var action = _ref4 . action ; var type = _ref4 . type ; var payload = _ref4 . payload ; var error = _ref4 . error ; return _extends ( { } , action , { type : type , payload : payload , error : error } ) ; }
For unify the action being dispatched, you might NOT need it! `result` might be the payload or the error, depending how the request end up
For unify the action being dispatched you might NOT need it! result might be the payload or the error depending how the request end up