pub async fn bring_bob_online(&mut self) {
        let saf_file = self.alice_call_data().ribosome.saf_file().clone();
        if self.bob_call_data().is_none() {
            let bob_agent_id = fake_agent_pubkey_2();
            let bob_cell_id = CellId::new(saf_file.saf_hash().clone(), bob_agent_id.clone());
            let bob_installed_cell = InstalledCell::new(bob_cell_id.clone(), "bob_handle".into());
            let cell_data = vec![(bob_installed_cell, None)];
            install_app("bob_app", cell_data, vec![saf_file.clone()], self.handle()).await;
            self.cell_apis.insert(
                bob_cell_id.clone(),
                CellHostFnCaller::new(&bob_cell_id, &self.handle(), &saf_file).await,
            );
        }
    }
/// Bring bob online if he isn't already
Bring bob online if he isn't already
Bring bob online if he isn ' t already
pub async fn bring_bob_online(&mut self) {
        let saf_file = self.alice_call_data().ribosome.saf_file().clone();
        if self.bob_call_data().is_none() {
            let bob_agent_id = fake_agent_pubkey_2();
            let bob_cell_id = CellId::new(saf_file.saf_hash().clone(), bob_agent_id.clone());
            let bob_installed_cell = InstalledCell::new(bob_cell_id.clone(), "bob_handle".into());
            let cell_data = vec![(bob_installed_cell, None)];
            install_app("bob_app", cell_data, vec![saf_file.clone()], self.handle()).await;
            self.cell_apis.insert(
                bob_cell_id.clone(),
                CellHostFnCaller::new(&bob_cell_id, &self.handle(), &saf_file).await,
            );
        }
    }
pub async fn bring_bob_online ( & mut self ) { let saf_file = self . alice_call_data ( ) . ribosome . saf_file ( ) . clone ( ) ; if self . bob_call_data ( ) . is_none ( ) { let bob_agent_id = fake_agent_pubkey_2 ( ) ; let bob_cell_id = CellId :: new ( saf_file . saf_hash ( ) . clone ( ) , bob_agent_id . clone ( ) ) ; let bob_installed_cell = InstalledCell :: new ( bob_cell_id . clone ( ) , " " . into ( ) ) ; let cell_data = vec ! [ ( bob_installed_cell None ) ] ; install_app ( " " , cell_data , vec ! [ saf_file clone ( ) ] , self . handle ( ) ) . await ; self . cell_apis . insert ( bob_cell_id . clone ( ) , CellHostFnCaller :: new ( & bob_cell_id , & self . handle ( ) , & saf_file ) . await , ) ; } }
Bring bob online if he isn't already
Bring bob online if he isn ' t already
&mut self
&mut self