[Add] base of message states

This commit is contained in:
Alex Emmet 2026-02-01 16:29:09 +01:00
commit 87d4ffab19
6 changed files with 153 additions and 91 deletions

View file

@ -20,11 +20,9 @@ impl OmikronConnection {
.add_data_num(
DataTypes::last_ping,
Number::from(*self.last_ping.lock().await),
)
.to_json()
.to_string();
);
self.send_message(ping_message).await;
self.send_message(&ping_message).await;
}
/// Handles incoming pong and calculates latency