pub(crate) fn remove(&self, key: &ChildRef) {
        if let Some(_) = self.actors.remove(key) {
            self.handler
                .notify(key, &self.actors, NotificationType::Remove);
        }
    }
/// Removes and then returns the record from the registry by the given key.
/// Returns `None` when the record wasn't found by the given key.
Removes and then returns the record from the registry by the given key.
Returns `None` when the record wasn't found by the given key.
Removes and then returns the record from the registry by the given key . Returns ` None ` when the record wasn ' t found by the given key .
pub(crate) fn remove(&self, key: &ChildRef) {
        if let Some(_) = self.actors.remove(key) {
            self.handler
                .notify(key, &self.actors, NotificationType::Remove);
        }
    }
pub ( crate ) fn remove ( & self , key : & ChildRef ) { if let Some ( _ ) = self . actors . remove ( key ) { self . handler . notify ( key , & self . actors , NotificationType :: Remove ) ; } }
Removes and then returns the record from the registry by the given key.
Removes and then returns the record from the registry by the given key .
&self
key
&ChildRef
&self
key
&ChildRef