Initial work in moving to scala.concurrent.Await + Awaitable
This commit is contained in:
parent
1f6f2c1897
commit
0bf45a9403
87 changed files with 170 additions and 260 deletions
|
|
@ -113,7 +113,7 @@ class AgentDocSpec extends AkkaSpec {
|
|||
val agent = Agent(0)
|
||||
|
||||
//#read-future
|
||||
import akka.dispatch.Await
|
||||
import scala.concurrent.Await
|
||||
|
||||
implicit val timeout = Timeout(5 seconds)
|
||||
val future = agent.future
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue