Throttler

class Throttler(interval: Int = 1000)

Convenience class to restrict the execution of an invoked action until a certain interval of time hasn't been elapsed

Constructors

Link copied to clipboard
constructor(interval: Int = 1000)

Functions

Link copied to clipboard
fun invoke(action: () -> Any?)