pub mod use_interval {
use ::leptos_use_interval::*;
use leptos::reactive::wrappers::read::Signal;
#[doc = " Deprecated forwarding wrapper of [`leptos_use_interval::use_interval`](https://docs.rs/leptos-use-interval/latest/leptos_use_interval/fn.use_interval.html).\n\n Add the `leptos-use-interval` crate to your dependencies and use `leptos_use_interval::use_interval` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-interval` to your dependencies and use `leptos_use_interval::use_interval` instead."
)]
#[inline(always)]
pub fn use_interval<N>(
interval: N,
) -> UseIntervalReturn<
impl Fn() + Clone + Send + Sync,
impl Fn() + Clone + Send + Sync,
impl Fn() + Clone + Send + Sync,
>
where
N: Into<Signal<u64>>,
{
::leptos_use_interval::use_interval::<N>(interval)
}
#[doc = " Deprecated forwarding wrapper of [`leptos_use_interval::use_interval_with_options`](https://docs.rs/leptos-use-interval/latest/leptos_use_interval/fn.use_interval_with_options.html).\n\n Add the `leptos-use-interval` crate to your dependencies and use `leptos_use_interval::use_interval_with_options` instead."]
#[deprecated(
since = "0.20.0",
note = "leptos-use has been split into micro crates. Add `leptos-use-interval` to your dependencies and use `leptos_use_interval::use_interval_with_options` instead."
)]
#[inline(always)]
pub fn use_interval_with_options<N>(
interval: N,
options: UseIntervalOptions,
) -> UseIntervalReturn<
impl Fn() + Clone + Send + Sync,
impl Fn() + Clone + Send + Sync,
impl Fn() + Clone + Send + Sync,
>
where
N: Into<Signal<u64>>,
{
::leptos_use_interval::use_interval_with_options::<N>(interval, options)
}
}