Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of broadcast messages #38

Open
pw242 opened this issue Jan 30, 2022 · 1 comment
Open

Order of broadcast messages #38

pw242 opened this issue Jan 30, 2022 · 1 comment

Comments

@pw242
Copy link

pw242 commented Jan 30, 2022

When using several BroadcastClient(msg) in sequence, it seems that the client does not receive the messages in the same order. Is this intended? Is there a way to preserve the order?

@Nhowka
Copy link
Owner

Nhowka commented Jan 31, 2022

The client process the websocket messages as they come. The websocket protocol guarantees the order of the messages, but maybe a big message might be deserialized slower than the next small message and enter the elmish loop in the wrong order. Can you check if the websocket is receiving the message in the right order?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants