t

play.api.libs.concurrent

InjectedActorSupport

trait InjectedActorSupport extends AnyRef

Support for creating injected child actors.

Source
Pekko.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InjectedActorSupport
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

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

    Create an injected child actor.

    Create an injected child actor.

    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.

    context

    The context to create the actor from.

    returns

    An ActorRef for the created actor.