fn notify(&self, setting_type: SettingType) {
        // Only return updates for types actively listened on.
        if self.active_listeners.contains(&setting_type) {
            self.messenger_client
                .message(
                    Payload::Event(SettingEvent::Changed(setting_type)),
                    Audience::Address(Address::Switchboard),
                )
                .send();
        }
    }
/// Called by the receiver task when a sink has reported a change to its
/// setting type.
Called by the receiver task when a sink has reported a change to its
setting type.
Called by the receiver task when a sink has reported a change to its setting type .
fn notify(&self, setting_type: SettingType) {
        // Only return updates for types actively listened on.
        if self.active_listeners.contains(&setting_type) {
            self.messenger_client
                .message(
                    Payload::Event(SettingEvent::Changed(setting_type)),
                    Audience::Address(Address::Switchboard),
                )
                .send();
        }
    }
fn notify ( & self , setting_type : SettingType ) { // Only return updates for types actively listened on. if self . active_listeners . contains ( & setting_type ) { self . messenger_client . message ( Payload :: Event ( SettingEvent :: Changed ( setting_type ) ) , Audience :: Address ( Address :: Switchboard ) , ) . send ( ) ; } }
Called by the receiver task when a sink has reported a change to its
setting type.
Called by the receiver task when a sink has reported a change to its setting type .
&self
setting_type
SettingType
&self
setting_type
SettingType