object PropsAdapter
Wrap akka.actor.typed.Behavior in an untyped akka.actor.Props, i.e. when
spawning a typed child actor from an untyped parent actor.
This is normally not needed because you can use the extension methods
spawn
and spawnAnonymous
on an untyped ActorContext
, but it's needed
when using typed actors with an existing library/tool that provides an API that
takes an untyped akka.actor.Props parameter. Cluster Sharding is an
example of that.
- Source
- PropsAdapter.scala
- Alphabetic
- By Inheritance
- PropsAdapter
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
- def apply[T](behavior: ⇒ Behavior[T], deploy: Props = Props.empty): actor.Props