Creates a rate limit that permits maxEvents per per duration window.
maxEvents
per
const RateLimit(this.maxEvents, this.per);