 | PropsWithRouter Method |
Creates a new
Props with a given router.
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 WithRouter(
RouterConfig routerConfig
)
member WithRouter :
routerConfig : RouterConfig -> Props
Parameters
- routerConfig
- Type: Akka.RoutingRouterConfig
The router used when deploying the actor.
Return Value
Type:
PropsA new
Props with the provided
routerConfig.
See Also