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
trait Provider[ActorRef[T]]
trait Provider[ActorRef[T]]
class Object
trait Matchable
class Any

Members list

Value members

Concrete fields

lazy val get: ActorRef[T]
val name: String