/// Adds the actor into each registry declared in the parent node.
Adds the actor into each registry declared in the parent node.
Adds the actor into each registry declared in the parent node .
fn register_in_dispatchers(&self) {
        if let Some(parent) = self.bcast.parent().clone().into_children() {
            let child_ref = self.child_ref.clone();
            let used_dispatchers = parent.dispatchers();
            let global_dispatcher = SYSTEM.dispatcher();
            // FIXME: Pass the module name explicitly?
            let module_name = module_path!().to_string();
            global_dispatcher.register(used_dispatchers, &child_ref, module_name);
        }
    }
fn register_in_dispatchers ( & self ) { if let Some ( parent ) = self . bcast . parent ( ) . clone ( ) . into_children ( ) { let child_ref = self . child_ref . clone ( ) ; let used_dispatchers = parent . dispatchers ( ) ; let global_dispatcher = SYSTEM . dispatcher ( ) ; // FIXME: Pass the module name explicitly? let module_name = module_path ! ( ) . to_string ( ) ; global_dispatcher . register ( used_dispatchers , & child_ref , module_name ) ; } }
Adds the actor into each registry declared in the parent node.
Adds the actor into each registry declared in the parent node .
&self