vcs-controller/src/remote_sources/remote_source.rs

28 lines
641 B
Rust
Raw Normal View History

2024-04-15 20:18:01 -07:00
/*
use std::{
cmp::{min, max}, sync::{
Arc, Mutex,
}, time::{Duration, Instant}
};
use async_channel::Sender;
use futures_util::{SinkExt, StreamExt};
use log::{error, info};
use tokio::net::TcpStream;
use tokio_tungstenite::{
tungstenite::Result, WebSocketStream,
};
use crate::coordinator::ApplicationEvent;
use super::TrackerState;
*/
use tokio_tungstenite::tungstenite::Result;
pub async fn handle_connection(// mut ws_stream: WebSocketStream<TcpStream>,
// mec: Sender<ApplicationEvent>,
// tracker_state: Arc<Mutex<TrackerState>>
) -> Result<()> {
todo!("Remote connections not implemented yet");
}