When to use inject vs injectActorRef in Scaldi?

58 Views Asked by At

Using Scaldi I want to inject Actors into other Actors. When should I use inject vs injectActorRef?

For example, in the Module I have a binding that looks like this: binding toProvider new SomeActor(). When injecting SomeActor which method should I use?

0

There are 0 best solutions below