title: Redux-saga: Calling a saga outside the redux middleware environment
body: <p>Pretty new to redux saga - I'm trying to figure out how to call a saga outside the redux middleware environment when <strong>I have access to the store.</strong></p>
  
  <p>After reading the redux saga docs looks like I have two options either call store.runSaga or use the runSaga utility provided by redux-saga. </p>
  
  <p>This is what I'm trying to do:</p>
  
  <p>Steps:</p>
  
  <ol>
  <li>Created a saga that pauses until the success action is dispatched.</li>
  </ol>
  
  <p>Something like this:</p>
  
  <pre><code>      export function* loadDashboardSequenced() {
  
        try {
        // Take pauses until action received.
        //Wait for the user to be loaded
        const user_success = yield take('FETCH_USER_SUCCESS');
         // ....do other stuff....
          } catch(error) {
           yield put({type: 'FETCH_FAILED', error: error.message});
        }
  </code></pre>
  
  <ol start="2">
  <li>Now I'm trying to call the saga either via store.runSaga <a href="https://redux-saga.js.org/docs/api/" rel="nofollow noreferrer">https://redux-saga.js.org/docs/api/</a> or runSaga <a href="https://redux-saga.js.org/docs/api/index.html#runsagaoptions-saga-args" rel="nofollow noreferrer">https://redux-saga.js.org/docs/api/index.html#runsagaoptions-saga-args</a></li>
  </ol>
  
  <p>Is there any benefits of using runSaga vs store.runSaga? I'm not sure which one I should use at this point. Any thoughts/suggestions? Thanks!</p>
  
  <p>EDIT: followup question about using runSaga <a href="https://redux-saga.js.org/docs/advanced/UsingRunSaga.html" rel="nofollow noreferrer">https://redux-saga.js.org/docs/advanced/UsingRunSaga.html</a>
  What does this line mean </p>
  
  <pre><code>        subscribe: ..., // this will be used to resolve take Effects
  </code></pre>