Suppose I have 10 urls, and I wish to make an HTTP request for each one of them.
I could create an observable of the URLs, then .flatMap()
the requests for each one of them, and then .subscribe
for the results. But that would make all of the requests at once.
Is there a way to impose a limit to the number of requests to a fixed number, in order not to overload the server
See Question&Answers more detail:os