title: Cancel some redux sagas when navigating
body: <p>i'm facing a complicated issue here and your help will be highly appreciated. When, i'm navigating to the different pages of my application some services response with errors and i'm seeing that errors in the different pages.
  For example suppose i want to buy something and for this i call a saga that handles this task. Then i'm logging out immediately and i see an error in my login. When i change screen i want to cancel all the sagas expect from these that are running in the current page. 
  For solving this i made an action which is dispatched when the user is changing from one screen to the other. This action is calling a generator function:</p>
  
  <pre><code>function* taskCancelHelper(actions, sagas) {
  .....
  }
  </code></pre>
  
  <p>My first question is how to "take" all actions expect from these that are dispatched in the current screen and call the appropriate sagas. I used:</p>
  
  <pre><code>const action = take(action =&gt; [..actions in the current screen].indexOf(action.type) &lt; 0); but it does not seem to work.
  </code></pre>
  
  <p>Then i want to pass into an array all the sagas that are called when this actions are dispatch [the sagas of the above actions]. My thought is to pass those two array in my taskCancelHelper* generator function and use a for loop to cancel each task: </p>
  
  <pre><code>For (i=0; i &lt; actions.length; i++) {
     yield cancel(sagas[i])
  }
  </code></pre>
  
  <p>Do you know how to take all the actions expect from the current screen that call sagas?</p>