InjectedActorSupport

play.api.libs.concurrent.InjectedActorSupport

Support for creating injected child actors.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def injectedChild(create: => Actor, name: String, props: Props => Props)(implicit context: ActorContext): ActorRef

Create an injected child actor.

Create an injected child actor.

Value parameters

context

The context to create the actor from.

create

A function to create the actor.

name

The name of the actor.

props

A function to provide props for the actor. The props passed in will just describe how to create the actor, this function can be used to provide additional configuration such as router and dispatcher configuration.

Attributes

Returns

An ActorRef for the created actor.