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