Remove duplicate code

This commit is contained in:
bitfl0wer 2023-11-16 19:25:55 +01:00
parent 36f839b1c0
commit 0a8105d7fc
No known key found for this signature in database
GPG Key ID: 0ACD574FCF5226CF
1 changed files with 0 additions and 12 deletions

View File

@ -2,15 +2,3 @@ use tokio::task::JoinHandle;
use ws_stream_wasm::*; use ws_stream_wasm::*;
use super::*; 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<()>,
}