Skip to content

The "Debounce" Node ​

Isolates the right-connected branch and executes it only once for multiple trigger runs that are within the wait duration from each other. See David Corbacho's article for more details on debouncing and the difference to throttling (See the Throttle node).

NOTE

Due to the way LylaBot is processing triggers internally wait values below 0.1 seconds may result in inconsistent debouncing.

Debounce

  • Value Out
  • Value
  • Wait
  • Leading
  • Trailing

Inputs ​

  • Value − The value to pass onto the isolated branch.
  • Wait − The number of seconds to wait for re-triggers.
  • Leading − Whether to execute on the leading edge of the timeout.
  • Trailing − Whether to execute on the trailing edge of the timeout.

Outputs ​

  • Value Out − The given Value.