KThrottler

constructor(scope: CoroutineScope, period: Duration = 500.milliseconds)(source)

Parameters

scope

The CoroutineScope in which the throttler runs.

period

The minimum time interval between consecutive emissions. Default: 500ms.

Type Parameters

T

The type of values being throttled.