#1299 - Removing reply and tryReply, preparing the way for 'sender ! response'
This commit is contained in:
parent
2d4251fcee
commit
77dc9e9c35
61 changed files with 144 additions and 186 deletions
|
|
@ -43,7 +43,7 @@ object Pi extends App {
|
|||
|
||||
def receive = {
|
||||
case Work(start, nrOfElements) ⇒
|
||||
reply(Result(calculatePiFor(start, nrOfElements))) // perform the work
|
||||
channel ! Result(calculatePiFor(start, nrOfElements)) // perform the work
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue