Adding debounce to self.param.update
#984
Labels
status: discussion
Discussion. Not yet a specific feature/bug. Likely to result in multiple PRs/issues.
type-feature
Feature request
I would like a built-in mechanism in the
self.param.update
method (or similar) that supports debouncing. https://www.geeksforgeeks.org/debouncing-in-javascript/Example:
This feature could be particularly useful for applications with frequent, rapid user interactions that trigger parameter updates (e.g., sliders or live data streams). It would improve the UX by removing flicker.
Use case would be linking widgets with
self.state.param.busy
, but at the current moment it could cause flickering:holoviz/lumen#783 (comment)
I think it would be implemented here https://github.com/holoviz/param/blob/main/param/parameterized.py#L2297-L2357
The text was updated successfully, but these errors were encountered: