pub async fn locate_resources(&mut self) {
        let mut handles = Vec::new();

        for (client_type, client) in &self.clients {
            let client = dyn_clone::clone_box(&*client);
            let tx = self.tx.clone();
            let client_type = client_type.clone();
            let cw_client = self.cw_client.clone();
            let config = self.config.get(&client_type).unwrap().clone();

            handles.push(tokio::spawn(async move {
                client.publish(tx, client_type, config, cw_client).await
            }));
        }

        futures::future::join_all(handles).await;
    }
/// Locates resources across all clients for a particular region
Locates resources across all clients for a particular region
Locates resources across all clients for a particular region
pub async fn locate_resources(&mut self) {
        let mut handles = Vec::new();
        for (client_type, client) in &self.clients {
            let client = dyn_clone::clone_box(&*client);
            let tx = self.tx.clone();
            let client_type = client_type.clone();
            let cw_client = self.cw_client.clone();
            let config = self.config.get(&client_type).unwrap().clone();
            handles.push(tokio::spawn(async move {
                client.publish(tx, client_type, config, cw_client).await
            }));
        }
        futures::future::join_all(handles).await;
    }
pub async fn locate_resources ( & mut self ) { let mut handles = Vec :: new ( ) ; for ( client_type , client ) in & self . clients { let client = dyn_clone :: clone_box ( & * client ) ; let tx = self . tx . clone ( ) ; let client_type = client_type . clone ( ) ; let cw_client = self . cw_client . clone ( ) ; let config = self . config . get ( & client_type ) . unwrap ( ) . clone ( ) ; handles . push ( tokio :: spawn ( async move { client . publish ( tx , client_type , config , cw_client ) . await } ) ) ; } futures :: future :: join_all ( handles ) . await ; }
Locates resources across all clients for a particular region
Locates resources across all clients for a particular region
&mut self