| PropsCreateTActor Method (SupervisorStrategy) |
Creates an actor using a specified supervisor strategy.
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static Props Create<TActor>(
SupervisorStrategy supervisorStrategy
)
where TActor : new(), ActorBase
static member Create :
supervisorStrategy : SupervisorStrategy -> Props when 'TActor : new() and ActorBase
Parameters
- supervisorStrategy
- Type: Akka.ActorSupervisorStrategy
The supervisor strategy used to manage the actor.
Type Parameters
- TActor
- The type of the actor to create.
Return Value
Type:
PropsThe newly created
Props.
See Also