TypedActorRefProvider
play.api.libs.concurrent.TypedActorRefProvider
@Singleton @ApiMayChange
final class TypedActorRefProvider[T](val name: String)(implicit evidence$1: ClassTag[T]) extends Provider[ActorRef[T]]
A singleton Provider of the typed ActorRef[T]
resulting from spawning an actor with the Behavior[T]
in dependency scope and the given name, in the ActorSystem in dependency scope.
Type parameters
- T
-
The class of the messages the typed actor can handle.
Value parameters
- name
-
the name to use when spawning the typed actor.
Attributes
- Graph
-
- Supertypes
Members list
In this article