Function leptos_reactive::create_read_slice
source · pub fn create_read_slice<T, O>(
signal: RwSignal<T>,
getter: impl Fn(&T) -> O + Copy + 'static
) -> Signal<O>where
O: PartialEq,
Expand description
Takes a memoized, read-only slice of a signal. This is equivalent to the
read-only half of create_slice
.