In jQuery ajax there's a way to abort ajax queries:
var xhr = $.ajax({ ... });
when user wants to abort the operation or navigates to other page in a single page app I can call
xhr.abort();
In angular2-http api I cannot find any possibility to abort the query as it uses rxjs.
Is there a way to abort the ajax query in angular2?