title: ngrx 8: dispatch multiple actions in single effect
body: <p>I need to dispatch multiple actions after calling an API request in my effect. I'm using this code at the moment to dispatch one action after API request done:</p>
  <pre class="lang-js prettyprint-override"><code>      changeStatus$ = createEffect(() =&gt; 
        this.actions$.pipe(
          ofType(fromJtDetail.changeStatus),
          switchMap(action =&gt;
            this.jtDetailService.changeStatus(action.entity,action.jobTicketId).pipe(
            map(res =&gt; fromJtDetail.statusChanged({changedStatus: action.entity.newStatus})),
            catchError(error =&gt; EMPTY)
        ))));
  </code></pre>
  <p>it's important to dispatch more actions in this effect, can't write another effect for this.</p>