debounce
fun debounce(seconds: Double, type: Debouncer.DebounceType = Debouncer.DebounceType.RISING): Trigger
Creates a new debounced trigger from this trigger - it will become active when this trigger has been active for longer than the specified period.
Return
The debounced trigger.
Parameters
seconds
The debounce period.
type
The debounce type.