pub mod watch_with_options {
use ::leptos_use_watch_with_options::*;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_watch_with_options::watch_with_options`](https://docs.rs/leptos-use-watch-with-options/latest/leptos_use_watch_with_options/fn.watch_with_options.html).\n\n Add the `leptos-use-watch-with-options` crate to your dependencies and use `leptos_use_watch_with_options::watch_with_options` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-watch-with-options` to your dependencies and use `leptos_use_watch_with_options::watch_with_options` instead."
)]
#[inline(always)]
pub fn watch_with_options<W, T, DFn, CFn>(
deps: DFn,
callback: CFn,
options: WatchOptions<impl CallFilter>,
) -> impl Fn() + Clone + Send + Sync
where
DFn: Fn() -> W + 'static,
CFn: Fn(&W, Option<&W>, Option<T>) -> T + Clone + 'static,
W: Clone + 'static,
T: Clone + 'static,
{
::leptos_use_watch_with_options::watch_with_options::<W, T, DFn, CFn>(
deps, callback, options,
)
}
}