messages dropped when sending many of them #503
-
I am trying to text updates of the progress of a process which leads to many messages being sent with very little time in between them. I noticed some of these messages get lost and do not reach flutter. Is this expected behavior? if yes, how can I overcome this safely in rust? Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you're using Below are links that would be of a help: |
Beta Was this translation helpful? Give feedback.
If you're using
StreamBuilder
or any widget builder, any messages that arrive within a single frame(usually 16ms) can be ignored. This is the default behavior of Flutter widget builders. To handle all messages, you can directly useStream.listen
method in Flutter instead.Below are links that would be of a help: