resources/assets/js/app-v1/utils/redux/requests/reducer.js
/**
 * finalizeRequestHandler is called when a request has completed, regardless of success or failure.
 * It removes the request action from pending.
 */
finalizeRequestHandler is called when a request has completed, regardless of success or failure.
It removes the request action from pending.
finalizeRequestHandler is called when a request has completed regardless of success or failure . It removes the request action from pending .
function finalizeRequestHandler(state, action) {
  return {
    ...state,
    pending: removeActionFromList(state, 'pending', action),
  };
}
function finalizeRequestHandler ( state , action ) { return { ... state , pending : removeActionFromList ( state , 'pending' , action ) , } ; }
finalizeRequestHandler is called when a request has completed, regardless of success or failure.
finalizeRequestHandler is called when a request has completed regardless of success or failure .