Partial work + broken commit

This commit is contained in:
Viktor Klang 2012-07-04 15:25:30 +02:00
parent 3911b18069
commit 52d33113d9
50 changed files with 228 additions and 1092 deletions

View file

@ -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 {