leptos_use

Function use_debounce_fn_with_arg

Source
pub fn use_debounce_fn_with_arg<F, Arg, R>(
    func: F,
    ms: impl Into<MaybeSignal<f64>> + 'static,
) -> impl Fn(Arg) -> Rc<RefCell<Option<R>>> + Clone
where F: Fn(Arg) -> R + Clone + 'static, Arg: Clone + 'static, R: 'static,
Expand description

Version of use_debounce_fn with an argument for the debounced function. See the docs for use_debounce_fn for how to use.