Partial work + broken commit
This commit is contained in:
parent
3911b18069
commit
52d33113d9
50 changed files with 228 additions and 1092 deletions
|
|
@ -79,7 +79,7 @@ class FutureDocSpec extends AkkaSpec {
|
|||
val msg = "hello"
|
||||
implicit val timeout = Timeout(5 seconds)
|
||||
//#map-to
|
||||
import akka.dispatch.Future
|
||||
import scala.concurrent.Future
|
||||
import akka.pattern.ask
|
||||
|
||||
val future: Future[String] = ask(actor, msg).mapTo[String]
|
||||
|
|
@ -90,7 +90,7 @@ class FutureDocSpec extends AkkaSpec {
|
|||
"demonstrate usage of simple future eval" in {
|
||||
//#future-eval
|
||||
import scala.concurrent.Await
|
||||
import akka.dispatch.Future
|
||||
import scala.concurrent.Future
|
||||
import scala.concurrent.util.duration._
|
||||
|
||||
val future = Future {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue