I was looking for a way to stop/terminate an http request if it exceeds a certain time. So in Angular 5, is there anyway to set a timeout for an http request?
If there is a way, how can we do something, like execute some function, after a timeout?
The method listed in this question
How can I implement timeout for angular2+ http request gives an error:
error TS2339: Property 'timeout' does not exist on type 'Observable'.