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 don't think this can be fixed without exposing new methods on the watch receiver in Tokio. E.g. we might expose a version method. This would involve changing send to increment version before the write lock is released, as it is otherwise not possible to reliably get the current version of the value returned by borrow(). We could also add a method similar to changed() that returns a reference to the actual value.
Version
Platform
Description
Awaiting on WatchStream in a loop, will get the last value twice, While were sending once.
Testcode:
Output:
The text was updated successfully, but these errors were encountered: