Function leptos_use::whenever_with_options

source ยท
pub fn whenever_with_options<T, DFn, CFn>(
    source: DFn,
    callback: CFn,
    options: WatchOptions,
) -> impl Fn() + Clone
where DFn: Fn() -> bool + 'static, CFn: Fn(bool, Option<bool>, Option<T>) -> T + Clone + 'static, T: Clone + 'static,
Expand description

Version of whenever that accepts WatchOptions. See whenever for how to use.