BatchThrottler

constructor(rateLimit: Int = 10, sleepTime: Long = 1000)

Parameters

rateLimit

The maximum number of executions allowed within the specified time interval.

sleepTime

The time interval in milliseconds between batches of executions.