external factory RateLimit({ num maxRequestsPerSecond, num remainingRequests, num timeUntilNextRequestMs, num timeUntilResetMs, });