Throttle

data class Throttle(val duration: Duration) : EventTransformer

Invoke the handler immediately for the first event, then suppress further events for duration.

Parameters

duration

The suppression window after the first firing (e.g. 1.seconds).

Constructors

Link copied to clipboard
constructor(duration: Duration)

Properties

Link copied to clipboard