QueueThrottler

class QueueThrottler(sleepTime: Long = 100) : BaseThrottler

Throttler implementation based on a fixed time interval between executions.

Parameters

sleepTime

The time interval in milliseconds between consecutive executions.

Constructors

Link copied to clipboard
constructor(sleepTime: Long = 100)

Functions

Link copied to clipboard
open suspend override fun wait()

Suspend the execution until the throttling conditions are met.