Stop all running requests
Hey there,
I would love a method to stop all running requests executed by Restangular. The global $window.stop() functionality is too extensive, because it also stops requests for HTML-templates and the like.
Is there functionality available to do this or is such functionality up for consideration? If it is up for consideration I could have a go to make a PR for it.
It definitely could be up for consideration. I'm not really sure how hard it would be to implement, but I'd be open to reviewing a PR with changes.
You can cancel a single request (see my comment, but I could see a use case for stopping all requests
@daviesgeek for example 401 error, if you already got it and you need stop all other requests to the server