Function leptos_use::use_throttle_fn_with_arg

source ยท
pub fn use_throttle_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_throttle_fn with an argument for the throttled function. See the docs for use_throttle_fn for how to use.