You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the opened issues and there are no duplicates
Describe the bug
Reading the documentation, it is noted that the specification of send_all_on_topic is to send a message to all subscribers who subscribe to the specified topic.
However, when I tried it, I found that only one subscriber can receive the paplyished message, and the behavior does not seem to match the specification.
Apparently, it's designed to have only one subscriber per topic, per session. So right now, it's your responsibility to "broadcast" the message within your session. However, I don't see a reason why we cannot improve that and allow multiple subscribers per session. Will do a fix.
Duplicate Check
Describe the bug
Reading the documentation, it is noted that the specification of
send_all_on_topic
is to send a message to all subscribers who subscribe to the specified topic.However, when I tried it, I found that only one subscriber can receive the paplyished message, and the behavior does not seem to match the specification.
Code sample
Code
To reproduce
Execute the code shown above and click on the text “Row1” that appears in the UI. Only “Row3 received message on topic1: None” is actually displayed.
Expected behavior
The expected behavior is to see two strings on the command line:
(because there are two subscribers for topic1).
Screenshots / Videos
Captures
Operating System
macOS
Operating system details
14.7(23H124)
Flet version
0.28.2
Regression
No, it isn't
Suggestions
No response
Logs
Logs
Additional details
No response
The text was updated successfully, but these errors were encountered: