BRUHH
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user