use leptos::*; use leptos_use::docs::{demo_or_body, Note}; use leptos_use::signal_throttled; #[component] fn Demo() -> impl IntoView { let (input, set_input) = create_signal("".to_string()); let throttled = signal_throttled(input, 1000.0); view! {
Input signal: {input}
Throttled signal: {throttled}