title: Cancel pending http requests in Angular 4/Ionic 3
body: <p>We have an app that pulls users schedules on a per day basis. They can side scroll through days and on each scroll stop it fires the <code>http.get</code> and grabs the schedule for that day. </p>
  
  <p>The problem we have run into is people scrolling, lifting their finger and continuing scrolling. We implemented a timeout so there is a delay between slide stop and the request firing, but we can't make that too long and still a number of <code>http.get</code> requests are fired.</p>
  
  <p>I need a way to cancel any pending HTTP requests on the start of a new one.</p>
  
  <pre><code>slideStop() {
     ..gather date information and other relevant parameters..
  
     &lt;stop any pending HTTP requests&gt;
  
     this.http.get()
  }
  </code></pre>