Rate Limitation demo

The function we are going to run is something like this:
This basically return a promise resolving after a certain amount of time


Insert the amount of ms that the function have to wait before resolving:


Insert the amount of possible concurrent functions


Insert how many times to run the function