Skip to content

How to debounce a model change? #601

Answered by meowgorithm
antonmedv asked this question in Q&A
Discussion options

You must be logged in to vote

There’s actually a simple pattern for this which is probably best explained with an example:

https://github.com/charmbracelet/bubbletea/blob/master/examples/debounce/main.go

But do let us know if you have more questions, too.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@antonmedv
Comment options

@meowgorithm
Comment options

@antonmedv
Comment options

Answer selected by antonmedv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants