title: Redux Saga - How to call multiple actions after logging in
body: <p>What I want to do is after logging into the app, I want to dispatch a couple of actions in my sagas to get the total no. of feedbacks and employees. Could someone help me understanding how I can do that :-</p>
  
  <p>Login Saga</p>
  
  <pre class="lang-js prettyprint-override"><code>function* loginSaga(action) {
    try {
      const userData = yield call(api.auth.login, action.payload);
      yield put(actions.loginUser(userData));
  
      //Save to localstorage
      localStorage.setItem("jwtToken", userData.token);
      //Set token to auth header
      setAuthToken(userData.token);
      //Decode token to get userData
      const decoded = jwt_decode(userData.token);
      //Set Current User
      yield put(actions.setCurrentUser(decoded));
      history.push("/review");
    } catch (err) {
      yield put(actions.loginUserErrors(err.response.data));
    }
  }
  </code></pre>
  
  <p>Here is mY action</p>
  
  <pre class="lang-js prettyprint-override"><code>//Complete login user
  export const loginUserRequest = userData =&gt; ({
    type: actionTypes.LOGIN_USER_REQUEST,
    payload: userData
  });
  
  export const loginUser = userData =&gt; ({
    type: actionTypes.LOGIN_USER,
    payload: userData
  });
  
  export const loginUserErrors = errors =&gt; ({
    type: actionTypes.GET_ERRORS,
    payload: errors
  });
  </code></pre>
  
  <p>So I want to more actions into login saga for example</p>
  
  <pre class="lang-js prettyprint-override"><code>//Get Feedbacks
  export const getFeedbacksRequest = () =&gt; ({
    type: actionTypes.GET_FEEDBACKS_REQUEST
  });
  
  export const getFeedbacks = feedbacks =&gt; ({
    type: actionTypes.GET_FEEDBACKS,
    payload: feedbacks
  });
  
  export const getFeedbacksErrors = errors =&gt; ({
    type: actionTypes.GET_ERRORS,
    payload: errors
  });
  </code></pre>
  
  <p>How can I add more in login saga so that when the user logs in these actions will be dispatched and get the lists.</p>
  
  <p>I tried by adding this <code>yield call(getFeedbacksRequest())</code> but it is throwing an error.
  I want to add 3-4 actions like that.</p>