Removed withRouter[TYPE] method and cleaned up some docs.
Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
This commit is contained in:
parent
7f93f56048
commit
2fd43bc4b1
3 changed files with 4 additions and 28 deletions
|
|
@ -50,7 +50,7 @@ object Pi extends App {
|
|||
var start: Long = _
|
||||
|
||||
//#create-router
|
||||
val router = context.actorOf(Props[Worker].withRouter(RoundRobinRouter(nrOfInstances = nrOfWorkers)), "pi")
|
||||
val router = context.actorOf(Props[Worker].withRouter(RoundRobinRouter(nrOfWorkers)), "pi")
|
||||
//#create-router
|
||||
|
||||
//#master-receive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue