 | PropsWithSupervisorStrategy Method |
Creates a new
Props with a given supervisor strategy.
Note |
---|
This method is immutable and returns a new instance of Props.
|
Namespace:
Akka.Actor
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic Props WithSupervisorStrategy(
SupervisorStrategy supervisorStrategy
)
member WithSupervisorStrategy :
supervisorStrategy : SupervisorStrategy -> Props
Parameters
- supervisorStrategy
- Type: Akka.ActorSupervisorStrategy
The supervisor strategy used to manage the actor.
Return Value
Type:
PropsA new
Props with the provided
supervisorStrategy.
See Also