mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-12 15:11:29 +03:00
new namedpipe
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use tokio::{self, prelude::*};
|
||||
use tokio::{self, io::*};
|
||||
use parity_tokio_ipc::Endpoint;
|
||||
|
||||
#[tokio::main]
|
||||
@@ -19,6 +19,6 @@ async fn main() {
|
||||
break;
|
||||
}
|
||||
|
||||
tokio::time::delay_for(std::time::Duration::from_secs(2)).await;
|
||||
tokio::time::sleep(std::time::Duration::from_secs(2)).await;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
use futures::StreamExt as _;
|
||||
use tokio::{
|
||||
prelude::*,
|
||||
io::*,
|
||||
self,
|
||||
io::split,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user