pub fn create_rw_signal<T>(value: T) -> RwSignal<T>where
T: Any + 'static,
Expand description
Creates a new RwSignal which can act both as a setter and a getter.
Accessing the signal value in an Effect will make the Effect subscribe to the value change of the Signal. And whenever the signal value changes, it will trigger an effect run.