Currently, I am using the Python client to connect to Lightstreamer, and for every update we receive from the server, we get three messages.
Based on my understanding, the onItemUpdate(self, update) function works for the third message in the sequence. Below are the three messages that we receive:
2025-02-16 11:09:20.249100|DEBUG|lightstreamer.stream|LS_IO|HTTP event: text(U,1,1,18.24|280|.14|.774792|538711|8|U|2025/
2025-02-16 11:09:20.260871|DEBUG|lightstreamer.protocol|Thread-2 (hx_local_0)|U,1,1,18.24|280|.14|.774792|538711|8|U|202
2025-02-16 11:09:20.296087|DEBUG|lightstreamer.subscriptions|Thread-2 (hx_local_0)|Subscription 1:1 update: [1:StringVal(1020
I would like to parse the first message as soon as it arrives, without waiting for the third message.
Do you have any suggestions or ideas on how I can achieve this?