leptos-use 0.20.0

Collection of essential Leptos utilities inspired by React-Use / VueUse
Documentation
//! Generated by the micro crate split: deprecated forwarding wrappers.

pub mod use_interval_fn {
    use ::leptos_use_filters::*;
    use ::leptos_use_interval_fn::*;

    use leptos::prelude::*;

    #[doc = " Deprecated forwarding wrapper of [`leptos_use_interval_fn::use_interval_fn`](https://docs.rs/leptos-use-interval-fn/latest/leptos_use_interval_fn/fn.use_interval_fn.html).\n\n Add the `leptos-use-interval-fn` crate to your dependencies and use `leptos_use_interval_fn::use_interval_fn` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-interval-fn` to your dependencies and use `leptos_use_interval_fn::use_interval_fn` instead."
    )]
    #[inline(always)]
    pub fn use_interval_fn<CbFn, N>(
        callback: CbFn,
        interval: N,
    ) -> Pausable<impl Fn() + Clone + Send + Sync, impl Fn() + Clone + Send + Sync>
    where
        CbFn: Fn() + Clone + 'static,
        N: Into<Signal<u64>>,
    {
        ::leptos_use_interval_fn::use_interval_fn::<CbFn, N>(callback, interval)
    }
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_interval_fn::use_interval_fn_with_options`](https://docs.rs/leptos-use-interval-fn/latest/leptos_use_interval_fn/fn.use_interval_fn_with_options.html).\n\n Add the `leptos-use-interval-fn` crate to your dependencies and use `leptos_use_interval_fn::use_interval_fn_with_options` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-interval-fn` to your dependencies and use `leptos_use_interval_fn::use_interval_fn_with_options` instead."
    )]
    #[inline(always)]
    pub fn use_interval_fn_with_options<CbFn, N>(
        callback: CbFn,
        interval: N,
        options: UseIntervalFnOptions,
    ) -> Pausable<impl Fn() + Clone + Send + Sync, impl Fn() + Clone + Send + Sync>
    where
        CbFn: Fn() + Clone + 'static,
        N: Into<Signal<u64>>,
    {
        ::leptos_use_interval_fn::use_interval_fn_with_options::<CbFn, N>(
            callback, interval, options,
        )
    }
}