using actix for state management #446
Unanswered
arthurgeek
asked this question in
Q&A
Replies: 1 comment
-
The best way would be just spawning a task that listens to Dart signals, and pass messages to the actor(Can be non-Protobuf struct). I think you're doing everything the right way. By the way, it looks like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
the book mentions one could use actix for state management, but doesn't provide a full example.
what is the best way to send dart messages (from
get_dart_signal_receiver().recv()
) to actors? so far I'm using an approach where my main function start my actors, and then I spawn a tokio function to listen to dart signals, and then call the actor when a message is received. It works, but I was wondering if there's any other ways I'm missing.Beta Was this translation helpful? Give feedback.
All reactions