pub fn debounce_action<T, F>(
signal: impl SignalWith<T> + 'static,
duration: Duration,
action: F,
)Expand description
Debounce an action.
This tracks a signal and checks if the inner value has changed by checking it’s hash and will run the action only once an uninterrupted duration has passed.