Instead of hard-coded throttle functionality, support a limit callback function that implements the rate-limiting algorithm.