resources/assets/js/app-v1/utils/redux/requests/reducer.js
/**
 * queueRequestHandler is the actual action dispatched wherever an api request is triggered. Its
 * purpose is to add the request to a queue, which is then efficiently batch processed later.
 */
queueRequestHandler is the actual action dispatched wherever an api request is triggered. Its
purpose is to add the request to a queue, which is then efficiently batch processed later.
queueRequestHandler is the actual action dispatched wherever an api request is triggered . Its purpose is to add the request to a queue which is then efficiently batch processed later .
function queueRequestHandler(state, action) {
  return {
    ...state,
    queue: state.queue.concat(action),
  };
}
function queueRequestHandler ( state , action ) { return { ... state , queue : state . queue . concat ( action ) , } ; }
queueRequestHandler is the actual action dispatched wherever an api request is triggered.
queueRequestHandler is the actual action dispatched wherever an api request is triggered .