-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fast updates on ValueDownLink via runtime client are not send? #45
Comments
Hi @msche, thanks for reporting this. Issue #36 occurs when we spam the downlink for a really long time with a heavy load. Since you are seeing the last messages you are not encountering that problem. There are two reasons why you are seeing this behavior.
If your desired behavior is to receive all the messages sent from the client to the server then you need to use 'commands' instead of downlinks. Warp commands get propagated to the Web Agent on the server, the Web Agent will update it's lane and that state change which will get propagated to all downlinks to that lane from clients.
Hopefully this is clear. Please do let us know if you have any questions. |
Since this is either by design or it's been captured by issue 36 |
I created a setup in which I have a Agent with a swim lane for a double and a Java client which updates it from 0 to 1000.
Client
On the ValueLane I have added a didSet handler that outputs the value to the console.
When I run the client without delay between the setting of the double value, only the last value change is printed (
observed info change to 999.0 from 0.0
). When I put a thread sleep of 100 between the set all changes to the value are printed.The text was updated successfully, but these errors were encountered: