Depth subscription version 3 : https://www.gate.io/docs/websocket/index.html?javascript#depth-subscription
When subscribing, 'depth.subscribe', ["ETH_USDT", 5, "0.0001"]
The first message comes with a value:
{ "method": "depth.update", "params": [ **_true_**, { asks: [Array], bids: [Array], **_id: 1736394129_** },
Аnd contains the complete specified,in this case "5" ORDERBOOK and id.
But subsequent messages with a value of false do not contain an id.
How can you know for sure that a message has not been lost without comparing the id?