This commit is contained in:
2026-01-22 23:35:52 -05:00
parent b56b71b70c
commit e1eff49be9

View File

@@ -11,7 +11,7 @@ use std::{
sync::Arc,
time::Duration,
};
use tokio::sync::{mpsc::UnboundedSender, oneshot::Receiver};
use tokio::sync::{mpsc::UnboundedSender, oneshot};
use winit::event_loop::EventLoopProxy;
pub const CLIENT_SOCKET: SocketAddr =
@@ -39,7 +39,7 @@ impl AppHandle {
type NetResult<T> = Result<T, String>;
pub enum NetCtrlMsg {
Exchange(ClientMsg, Receiver<>),
Exchange(ClientMsg, oneshot::Sender<>),
Send(ClientMsg),
Exit,
}