messages dropped when sending many of them #503
Answered
by
temeddix
psomani16k
asked this question in
Q&A
|
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 |
Answered by
temeddix
Feb 1, 2025
Replies: 1 comment 5 replies
|
If you're using Below are links that would be of a help: |
5 replies
Answer selected by
psomani16k
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're using
StreamBuilderor 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.listenmethod in Flutter instead.Below are links that would be of a help: