How to make a periodical request to the server in Angular?
There is a page with some data that is updated every n time upon request from the http service, sometimes updated upon request(reset time n). Now this is done using setInterval and clearInterval. It is suspected that there is a more beautiful and intuitive way.
Plus, you want to make an update of the data through time n only after the completion of the current request.
Thanks for all future advice.