Move Timeout into actor package to make more accessible, use overloaded '?' method to handle explicit Timeout

This commit is contained in:
Derek Williams 2011-06-28 15:20:31 -06:00
parent 81b361e6d7
commit ccb8440912
10 changed files with 48 additions and 51 deletions

View file

@ -55,7 +55,7 @@ class RoutingSpec extends WordSpec with MustMatchers {
case Test3 t2
}.start()
implicit val timeout = Actor.Timeout((5 seconds).dilated)
implicit val timeout = Timeout((5 seconds).dilated)
val result = for {
a (d ? (Test1)).as[Int]
b (d ? (Test2)).as[Int]