Board Thread:JS Development/@comment-9605025-20191030060753/@comment-9605025-20191207232413

Okay then. So if you have an actual target rate then it won't help. However, if you just care about not sending an insane number of requests, then it generally works fine. Thanks for the clarification.

In case you care to know, I did change the code to wait for a reply before sending the next request. However, I did a bit of a change to Aspallar's solution which I believe should allow later requests to be sent even if an earlier one fails.