Static ReadonlyfetchStaticfetchNumber of requests currently being processed. Must be lower than maxThreads.
Static ReadonlyfetchRequests to be performed. Takes tuples containing a resolve-reject pair and arguments to be passed into the fetch function.
Static ReadonlymaxMaximum number of requests to be processed simultaneously.
Static ReadonlyminMinimum amount of milliseconds to wait between each request.
Handles requests that might get hit by a rate limit. Wraps around
fetchand ensures that all users of the Requester only request a single time per 100 ms on top of the time it takes to load previous requests. Also runs on four "threads", allowing at least a certain level of asynchronicity.Particularly used when a multitude of requests have a chance to DoS a service.