Function create_selector_with_fn

pub fn create_selector_with_fn<T>(
    source: impl Fn() -> T + Clone + Send + Sync + 'static,
    f: impl Fn(&T, &T) -> bool + Send + Sync + Clone + '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_with_fn() instead.
Expand description

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