Remove duplicate code

This commit is contained in:
bitfl0wer 2023-11-16 19:25:55 +01:00
parent 339a8f5b7c
commit cefaa6545f
1 changed files with 0 additions and 12 deletions

View File

@ -2,15 +2,3 @@ use tokio::task::JoinHandle;
use ws_stream_wasm::*;
use super::*;
/// Handles sending heartbeats to the gateway in another thread
#[allow(dead_code)] // FIXME: Remove this, once used
#[derive(Debug)]
pub struct WasmHeartbeatHandler {
/// How ofter heartbeats need to be sent at a minimum
pub heartbeat_interval: Duration,
/// The send channel for the heartbeat thread
pub send: Sender<HeartbeatThreadCommunication>,
/// The handle of the thread
handle: JoinHandle<()>,
}