I understand that this library is used when standard rate limiting isn't suitable. Instead, this library is suitable when server limits the number of concurrent requests.
This makes sense for servers when requests take a long time to execute.
But it'll still be nice to also have the option for generic rate limiting such as https://github.com/rhashimoto/promise-throttle
Then it can handle both kinds of server restrictions.
I understand that this library is used when standard rate limiting isn't suitable. Instead, this library is suitable when server limits the number of concurrent requests.
This makes sense for servers when requests take a long time to execute.
But it'll still be nice to also have the option for generic rate limiting such as https://github.com/rhashimoto/promise-throttle
Then it can handle both kinds of server restrictions.