websocket

This commit is contained in:
2026-07-27 16:16:03 +08:00
parent f246bb9200
commit 1637d642de
+4
View File
@@ -256,6 +256,10 @@ struct POS_List {
std::lock_guard g(mtx.mtx);
return count == 0;
}
std::uint64_t current_seq() {
std::lock_guard g(mtx.mtx);
return seq;
}
std::optional<Position_Info> last() {
std::lock_guard g(mtx.mtx);
if (count == 0) return std::nullopt;