-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
The document of "send!" is inaccurate #12
Comments
I did further reading. The design of Both I love the idea of:
However |
Yeah, at the moment only There's a more complicated example here: https://github.com/Diggsey/raft-zero Originally the idea was that The current idea is that you run whatever you like concurrently using I'd be happy to accept PRs to fix issues in the documentation :) |
I have tried to restructure a project with act-zero. I found the majority of the function just gets data, more precisely, gets the part of the actor state. It's expensive to archive it with the exclusive |
The current the document of
send!
said: "The method must take&mut self
as the receiver."I tried the method likes this
async fn get_count(&self) -> ActorResult<usize>
, it pass the compler.Then I found the following words at https://old.reddit.com/r/rust/comments/hu10wh/actzero_asyncawait_compatible_actor_system/
How about putting these words into the document of
send!
?The text was updated successfully, but these errors were encountered: