-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
Calling Reflector::poll in separate thread/task #97
Comments
Ah what!? The That's definitely awkward. Kind of rushed out that release because all the examples work and delayed the threaded examples because actix is in a weird pre-2.0.0 state right now. Definitely need to make some changes to make the threaded case work here ASAP. Thanks for the issue. Will start a branch and try things. Help from anyone else who are good at the type puzzle would also be appreciated :-) (cc @kitfre) |
Think we might need to change the internal client watch call to return a |
Released the fix in 0.22.2. Thanks for the report and thanks once again @kitfre 👏 |
Most reflector examples have been updated, you should not need to wrap anything in |
Most excellent, thank you so much! 🎉 |
Good day sir!
Regarding version 0.22.1
I'm trying to do as advised, calling
.poll()
in a separate taskResults in:
This will work however in 0.20.0
I've attempted wrapping the reflector, (naively) in
Arc<RwLock<Reflector<Gordo>>
to no avail.I really appreciate all your examples, but couldn't find any which actually put this into a different task, aside from
controller-rs
but that's on version 0.18 in which case this will work.When you have the time, could you give me a pointer?
The text was updated successfully, but these errors were encountered: