RiotQuest has an automatic rate limiter so you don't exceed your API key's rate limits. The rate limiter will throw an exception if the next call would exceed the rate limit and it also cancels that request.
The whole process is automatic which means you don't have to do anything to make it function.
If the rate limit is exceeded, a
RiotQuest\Contracts\LeagueException will be thrown.