Provider for creating actor refs
Provider for the actor system
Components for configuring Akka.
Support for binding actors with Guice.
Support for binding actors with Guice.
Mix this trait in with a Guice AbstractModule to get convenient support for binding actors. For example:
class MyModule extends AbstractModule with AkkaGuiceSupport { def configure = { bindActor[MyActor]("myActor") } }
Then to use the above actor in your application, add a qualified injected dependency, like so:
class MyController @Inject() (@Named("myActor") myActor: ActorRef) extends Controller { ... }
Provider for the default execution context
Provider for the default execution context
Support for creating injected child actors.
Provider for the default flow materializer
Provider for the default flow materializer
Helper to access the application defined Akka Actor system.
useful helper methods to create and compose Promises
Provider for the actor system