pub async fn open_replicas(
        mut self,
        replicas: ReplicasWasm,
        ) -> Result<ReplicationHandleWasm, JsError>
    {
        for (public_key, replica) in replicas.take().into_iter() {
            self.handle
                .open(&public_key, replica)
                .await.map_err(|_| JsError::new("Error opening replica."))?;
        }
        Ok(self)
    }
/// Open replicas on the replication.
Open replicas on the replication.
Open replicas on the replication .
pub async fn open_replicas(
        mut self,
        replicas: ReplicasWasm,
        ) -> Result<ReplicationHandleWasm, JsError>
    {
        for (public_key, replica) in replicas.take().into_iter() {
            self.handle
                .open(&public_key, replica)
                .await.map_err(|_| JsError::new("Error opening replica."))?;
        }
        Ok(self)
    }
pub async fn open_replicas ( mut self , replicas : ReplicasWasm , ) -> Result < ReplicationHandleWasm , JsError > { for ( public_key , replica ) in replicas . take ( ) . into_iter ( ) { self . handle . open ( & public_key , replica ) . await . map_err ( | _ | JsError :: new ( " " ) ) ? ; } Ok ( self ) }
Open replicas on the replication.
Open replicas on the replication .
mut self
replicas
ReplicasWasm
mut self
replicas
ReplicasWasm