Throttler

constructor(window: Duration, timeSource: TimeSource.WithComparableMarks = TimeSource.Monotonic)

Parameters

window

the minimum time between the starts of two permitted runs.

timeSource

the clock used to measure the window.