Nickelgrass Active Member Licensed User Longtime User Jun 22, 2023 #1 Hello, what happens, if new data arrives in a stream while the last data is still being processed? Will it call the NewData sub twice or will it wait until the first one is finished and then emidiately raise it again? Thanks
Hello, what happens, if new data arrives in a stream while the last data is still being processed? Will it call the NewData sub twice or will it wait until the first one is finished and then emidiately raise it again? Thanks
DonManfred Expert Licensed User Longtime User Jun 22, 2023 #2 Do not expect to get all data in one event. You may need to buffer them and do the processing later. Upvote 0
Nickelgrass Active Member Licensed User Longtime User Jun 22, 2023 #3 DonManfred said: Do not expect to get all data in one event. You may need to buffer them and do the processing later. Click to expand... Hello and thanks for the reply. But that was not the question. That is clear. But what happens when the processing of the data takes long time. So long, that new data arrives while the previous data is still being processed. Upvote 0
DonManfred said: Do not expect to get all data in one event. You may need to buffer them and do the processing later. Click to expand... Hello and thanks for the reply. But that was not the question. That is clear. But what happens when the processing of the data takes long time. So long, that new data arrives while the previous data is still being processed.
teddybear Well-Known Member Licensed User Jun 22, 2023 #4 Nickelgrass said: Hello and thanks for the reply. But that was not the question. That is clear. But what happens when the processing of the data takes long time. So long, that new data arrives while the previous data is still being processed. Click to expand... You don't have to worry about that the processing of the data takes long time. the new data arrives is after the previous processing data is done. Last edited: Jun 22, 2023 Upvote 0
Nickelgrass said: Hello and thanks for the reply. But that was not the question. That is clear. But what happens when the processing of the data takes long time. So long, that new data arrives while the previous data is still being processed. Click to expand... You don't have to worry about that the processing of the data takes long time. the new data arrives is after the previous processing data is done.