Function create_selector

pub fn create_selector<T>(
    source: impl Fn() -> T + Clone + Send + Sync + 'static,
) -> Selector<T>
where T: PartialEq + Eq + Send + Sync + Clone + Hash + 'static,
👎Deprecated: This function is being removed to conform to Rust idioms. Please use Selector::new() instead.
Expand description

A conditional signal that only notifies subscribers when a change in the source signal’s value changes whether the given function is true.