.env, docs, performance, project name #2
			
				
			
		
		
		
	| 
						 | 
					@ -36,9 +36,9 @@ pub fn listen_to_client(tx: mpsc::Sender<String>, rx: mpsc::Receiver<String>, po
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
                Err(_e) => {}
 | 
					                Err(_e) => {}
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            thread::sleep(Duration::from_millis(1));
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        let _ = tx.send(String::from_utf8_lossy(&buffer).to_string());
 | 
					        let _ = tx.send(String::from_utf8_lossy(&buffer).to_string());
 | 
				
			||||||
        thread::sleep(Duration::from_millis(100));
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -51,9 +51,9 @@ pub fn write_to_server(
 | 
				
			||||||
                Ok(_) => {}
 | 
					                Ok(_) => {}
 | 
				
			||||||
                Err(_e) => println!("Couldn't send {value}"),
 | 
					                Err(_e) => println!("Couldn't send {value}"),
 | 
				
			||||||
            };
 | 
					            };
 | 
				
			||||||
 | 
					            thread::sleep(Duration::from_millis(1));
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        let _ = tx.send(dbg!(String::from_utf8_lossy(&buffer).to_string()));
 | 
					        let _ = tx.send(dbg!(String::from_utf8_lossy(&buffer).to_string()));
 | 
				
			||||||
        thread::sleep(Duration::from_millis(100));
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue