Replacing !!! with ?

This commit is contained in:
Viktor Klang 2011-06-13 13:43:21 +02:00
parent fd5afde4ff
commit fa0478bc32
26 changed files with 102 additions and 100 deletions

View file

@ -104,7 +104,7 @@ object Pi extends App {
val start = now
//send calculate message
master.!!![Double](Calculate, timeout = 60000).
master.?[Double](Calculate, timeout = 60000).
await.resultOrException match {//wait for the result, with a 60 seconds timeout
case Some(pi) =>
EventHandler.info(this, "\n\tPi estimate: \t\t%s\n\tCalculation time: \t%s millis".format(pi, (now - start)))