title: How to handle multiple action types in one epic? Any cons of doing the same?
body: <p>Pretty new to redux-observables, rxjs and observables. Wanted to know how can I handle another action, say 'ActionTwo' in the same epic </p>
  
  <pre><code>const Epic1 = (action$,store) =&gt; {
  return action$.ofType('ActionOne')
   .mergeMap((action) =&gt; {
        return ajax({'method': 'GET', 'url': 'someUrl')
           .map(response =&gt; resultActoin(action.userId, response.response));
  
  
         }
    );
   }
  </code></pre>
  
  <p>Something like</p>
  
  <pre><code>const Epic1 = (action$){
     if('ActionOne') make a API call.
     if('ActionTwo') make some other API call.
     else do nothing.
  
  }
  </code></pre>