Move Timeout into actor package to make more accessible, use overloaded '?' method to handle explicit Timeout
This commit is contained in:
parent
81b361e6d7
commit
ccb8440912
10 changed files with 48 additions and 51 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue