Trait leptos_reactive::SignalWithUntracked
source · pub trait SignalWithUntracked<T> {
// Required methods
fn with_untracked<O>(&self, f: impl FnOnce(&T) -> O) -> O;
fn try_with_untracked<O>(&self, f: impl FnOnce(&T) -> O) -> Option<O>;
}
Expand description
This trait allows getting a reference to the signals inner value without creating a dependency on the signal.