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 signal_debounced {
    use ::leptos_use_filters::*;

    use leptos::reactive::wrappers::read::Signal;
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_signal_debounce_throttle::signal_debounced`](https://docs.rs/leptos-use-signal-debounce-throttle/latest/leptos_use_signal_debounce_throttle/fn.signal_debounced.html).\n\n Add the `leptos-use-signal-debounce-throttle` crate to your dependencies and use `leptos_use_signal_debounce_throttle::signal_debounced` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-signal-debounce-throttle` to your dependencies and use `leptos_use_signal_debounce_throttle::signal_debounced` instead."
    )]
    #[track_caller]
    #[inline(always)]
    pub fn signal_debounced<S, T>(
        value: S,
        ms: impl Into<Signal<f64>> + 'static,
    ) -> Signal<T, ::leptos::prelude::SyncStorage>
    where
        S: Into<Signal<T, ::leptos::prelude::SyncStorage>>,
        T: Send + Sync + Clone + 'static,
    {
        ::leptos_use_signal_debounce_throttle::signal_debounced::<S, T>(value, ms)
    }
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_signal_debounce_throttle::signal_debounced_with_options`](https://docs.rs/leptos-use-signal-debounce-throttle/latest/leptos_use_signal_debounce_throttle/fn.signal_debounced_with_options.html).\n\n Add the `leptos-use-signal-debounce-throttle` crate to your dependencies and use `leptos_use_signal_debounce_throttle::signal_debounced_with_options` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-signal-debounce-throttle` to your dependencies and use `leptos_use_signal_debounce_throttle::signal_debounced_with_options` instead."
    )]
    #[track_caller]
    #[inline(always)]
    pub fn signal_debounced_with_options<S, T>(
        value: S,
        ms: impl Into<Signal<f64>> + 'static,
        options: DebounceOptions,
    ) -> Signal<T, ::leptos::prelude::SyncStorage>
    where
        S: Into<Signal<T, ::leptos::prelude::SyncStorage>>,
        T: Send + Sync + Clone + 'static,
    {
        ::leptos_use_signal_debounce_throttle::signal_debounced_with_options::<S, T>(
            value, ms, options,
        )
    }
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_signal_debounce_throttle::signal_debounced_local`](https://docs.rs/leptos-use-signal-debounce-throttle/latest/leptos_use_signal_debounce_throttle/fn.signal_debounced_local.html).\n\n Add the `leptos-use-signal-debounce-throttle` crate to your dependencies and use `leptos_use_signal_debounce_throttle::signal_debounced_local` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-signal-debounce-throttle` to your dependencies and use `leptos_use_signal_debounce_throttle::signal_debounced_local` instead."
    )]
    #[track_caller]
    #[inline(always)]
    pub fn signal_debounced_local<S, T>(
        value: S,
        ms: impl Into<Signal<f64>> + 'static,
    ) -> Signal<T, ::leptos::prelude::LocalStorage>
    where
        S: Into<Signal<T, ::leptos::prelude::LocalStorage>>,
        T: Clone + 'static,
    {
        ::leptos_use_signal_debounce_throttle::signal_debounced_local::<S, T>(value, ms)
    }
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_signal_debounce_throttle::signal_debounced_local_with_options`](https://docs.rs/leptos-use-signal-debounce-throttle/latest/leptos_use_signal_debounce_throttle/fn.signal_debounced_local_with_options.html).\n\n Add the `leptos-use-signal-debounce-throttle` crate to your dependencies and use `leptos_use_signal_debounce_throttle::signal_debounced_local_with_options` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-signal-debounce-throttle` to your dependencies and use `leptos_use_signal_debounce_throttle::signal_debounced_local_with_options` instead."
    )]
    #[track_caller]
    #[inline(always)]
    pub fn signal_debounced_local_with_options<S, T>(
        value: S,
        ms: impl Into<Signal<f64>> + 'static,
        options: DebounceOptions,
    ) -> Signal<T, ::leptos::prelude::LocalStorage>
    where
        S: Into<Signal<T, ::leptos::prelude::LocalStorage>>,
        T: Clone + 'static,
    {
        ::leptos_use_signal_debounce_throttle::signal_debounced_local_with_options::<S, T>(
            value, ms, options,
        )
    }
}

pub mod signal_throttled {
    use ::leptos_use_filters::*;

    use leptos::reactive::wrappers::read::Signal;
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_signal_debounce_throttle::signal_throttled`](https://docs.rs/leptos-use-signal-debounce-throttle/latest/leptos_use_signal_debounce_throttle/fn.signal_throttled.html).\n\n Add the `leptos-use-signal-debounce-throttle` crate to your dependencies and use `leptos_use_signal_debounce_throttle::signal_throttled` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-signal-debounce-throttle` to your dependencies and use `leptos_use_signal_debounce_throttle::signal_throttled` instead."
    )]
    #[track_caller]
    #[inline(always)]
    pub fn signal_throttled<S, T>(
        value: S,
        ms: impl Into<Signal<f64>> + 'static,
    ) -> Signal<T, ::leptos::prelude::SyncStorage>
    where
        S: Into<Signal<T, ::leptos::prelude::SyncStorage>>,
        T: Send + Sync + Clone + 'static,
    {
        ::leptos_use_signal_debounce_throttle::signal_throttled::<S, T>(value, ms)
    }
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_signal_debounce_throttle::signal_throttled_with_options`](https://docs.rs/leptos-use-signal-debounce-throttle/latest/leptos_use_signal_debounce_throttle/fn.signal_throttled_with_options.html).\n\n Add the `leptos-use-signal-debounce-throttle` crate to your dependencies and use `leptos_use_signal_debounce_throttle::signal_throttled_with_options` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-signal-debounce-throttle` to your dependencies and use `leptos_use_signal_debounce_throttle::signal_throttled_with_options` instead."
    )]
    #[track_caller]
    #[inline(always)]
    pub fn signal_throttled_with_options<S, T>(
        value: S,
        ms: impl Into<Signal<f64>> + 'static,
        options: ThrottleOptions,
    ) -> Signal<T, ::leptos::prelude::SyncStorage>
    where
        S: Into<Signal<T, ::leptos::prelude::SyncStorage>>,
        T: Send + Sync + Clone + 'static,
    {
        ::leptos_use_signal_debounce_throttle::signal_throttled_with_options::<S, T>(
            value, ms, options,
        )
    }
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_signal_debounce_throttle::signal_throttled_local`](https://docs.rs/leptos-use-signal-debounce-throttle/latest/leptos_use_signal_debounce_throttle/fn.signal_throttled_local.html).\n\n Add the `leptos-use-signal-debounce-throttle` crate to your dependencies and use `leptos_use_signal_debounce_throttle::signal_throttled_local` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-signal-debounce-throttle` to your dependencies and use `leptos_use_signal_debounce_throttle::signal_throttled_local` instead."
    )]
    #[track_caller]
    #[inline(always)]
    pub fn signal_throttled_local<S, T>(
        value: S,
        ms: impl Into<Signal<f64>> + 'static,
    ) -> Signal<T, ::leptos::prelude::LocalStorage>
    where
        S: Into<Signal<T, ::leptos::prelude::LocalStorage>>,
        T: Clone + 'static,
    {
        ::leptos_use_signal_debounce_throttle::signal_throttled_local::<S, T>(value, ms)
    }
    #[doc = " Deprecated forwarding wrapper of [`leptos_use_signal_debounce_throttle::signal_throttled_local_with_options`](https://docs.rs/leptos-use-signal-debounce-throttle/latest/leptos_use_signal_debounce_throttle/fn.signal_throttled_local_with_options.html).\n\n Add the `leptos-use-signal-debounce-throttle` crate to your dependencies and use `leptos_use_signal_debounce_throttle::signal_throttled_local_with_options` instead."]
    #[deprecated(
        since = "0.20.0",
        note = "leptos-use has been split into micro crates. Add `leptos-use-signal-debounce-throttle` to your dependencies and use `leptos_use_signal_debounce_throttle::signal_throttled_local_with_options` instead."
    )]
    #[track_caller]
    #[inline(always)]
    pub fn signal_throttled_local_with_options<S, T>(
        value: S,
        ms: impl Into<Signal<f64>> + 'static,
        options: ThrottleOptions,
    ) -> Signal<T, ::leptos::prelude::LocalStorage>
    where
        S: Into<Signal<T, ::leptos::prelude::LocalStorage>>,
        T: Clone + 'static,
    {
        ::leptos_use_signal_debounce_throttle::signal_throttled_local_with_options::<S, T>(
            value, ms, options,
        )
    }
}