Replies: 1 comment 1 reply
-
The trick is to not sent those (Note that you have linked to ancient documentation, from when See also #4377 (reply in thread). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I am having a problem understanding how to update UI from other threads in Rust. From what I know I should use the
invoke_from_event_loop
function, but if I try to use it with an reference countedVecModel
, then it complains aboutRc<VecModel<DeviceData>> cannot be sent between threads safely
.Relevant snippet:
The example shown at https://archive.slint.dev/0.3.4/docs/rust/slint/fn.invoke_from_event_loop only deals with a constant numeric value. Any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions