This commit is contained in:
nora 2024-08-11 22:10:34 +02:00
parent 9c320c8b4c
commit ae5db1642c
5 changed files with 166 additions and 89 deletions

View file

@ -80,6 +80,8 @@ async fn handle_connection(next: (TcpStream, SocketAddr)) -> Result<()> {
}
}
while let Some(channel_update) = state.next_channel_update() {}
while let Some(msg) = state.next_msg_to_send() {
conn.write_all(&msg.to_bytes())
.await