Debouncer

constructor(debounceTimeSeconds: Double, type: Debouncer.DebounceType = DebounceType.RISING)(source)

Parameters

debounceTimeSeconds

The number of seconds the value must change from baseline for the filtered value to change.

type

Which type of state change the debouncing will be performed on.