> For the complete documentation index, see [llms.txt](https://streambuddies2.felineentity.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://streambuddies2.felineentity.com/buddy-debounce.md).

# Buddy Debounce

The Buddy Debounce Node delays a Flow for a custom length as long as the attached Buddy exists, and will reset the remaining length when triggered before the delay runs out.

<figure><img src="https://1693557609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7oowhN4HFDtKmcHKVKlT%2Fuploads%2FjGHHkMijMLQnzdiDQEO6%2Fimage.png?alt=media&amp;token=87b6fc95-d49b-4e81-858f-f18dfcb1967e" alt=""><figcaption></figcaption></figure>

This Node is useful for Buddy specific timeouts, like despawning a Buddy after a certain amount of inactivity from the connected chatter. Simply trigger the Debounce node to keep the Buddy "alive" and have it Despawn the Buddy after it hasn't been trigegred for a while. If the originally attached Buddy gets deleted from the Settings, no signal will be sent after the Delay is over. Triggering Clear stops all Debounces and nothing will be triggered.

#### Inputs

**Buddy (BuddyData):** The Buddy that should be attached to the Debounce.

**Delay (float):** The amount of time until the Exit Flow should be called, in seconds.

#### Outputs

**Buddy (BuddyData):** The Buddy that was attached when the Debounce was started.

#### Flow Inputs

**Clear:** Cancels all currently running Debounces.

#### Flow Outputs

**Exit:** Triggers a Flow after the Delay time has been reached. Will not trigger if the originally attached Buddy doesn't exist anymore.
