leptos_use

Function use_debounce_fn_with_options

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

Version of use_debounce_fn with debounce options. See the docs for use_debounce_fn for how to use.