Create and call actor from another actor in actix

Viewed 28

I am using actix to implement some simple processing logic in rust. The idea is that I have an actor type Parent which makes some decision and sometimes needs to create a Child actor, send message to it and get response. I noticed that actix Handler cannot be async therefore not allowing me to create an actor and receive response from it.

Is there a way to call an actor from another actor in actix?

0 Answers
Related