Add TODO comment
This commit is contained in:
parent
50cd93aae1
commit
b3ebdd69fc
|
@ -659,6 +659,7 @@ pub trait HeartbeatHandlerCapable<T: MessageCapable + Send + 'static, S: Sink<T>
|
||||||
fn get_send(&self) -> &Sender<HeartbeatThreadCommunication>;
|
fn get_send(&self) -> &Sender<HeartbeatThreadCommunication>;
|
||||||
fn get_heartbeat_interval(&self) -> Duration;
|
fn get_heartbeat_interval(&self) -> Duration;
|
||||||
#[allow(clippy::new_ret_no_self)]
|
#[allow(clippy::new_ret_no_self)]
|
||||||
|
// TODO: new() has duplicated code in wasm and default impl. Can be fixed, if this is not a trait
|
||||||
fn new(
|
fn new(
|
||||||
heartbeat_interval: Duration,
|
heartbeat_interval: Duration,
|
||||||
websocket_tx: Arc<Mutex<SplitSink<S, T>>>,
|
websocket_tx: Arc<Mutex<SplitSink<S, T>>>,
|
||||||
|
|
Loading…
Reference in New Issue