What would be the best way to limit the amount of ...
# kotlin-fuel
j
What would be the best way to limit the amount of async requests that are fired at the same time? Say I have a loop that does requests on a set of 70000 ids to an api. Rightfully, the api pretty quickly shuts my requests down with “429: Too many requests”. I would like to have some way of only doing a few at a time and wait for some of the requests to return before firing the next.