Introducing ExecutionContext to MessageDispatcher and attaching it to Future

This commit is contained in:
Viktor Klang 2011-12-30 13:48:31 +01:00
parent 018033b9d5
commit b34dc4c33b
4 changed files with 97 additions and 78 deletions

View file

@ -70,8 +70,6 @@ class FutureDocSpec extends AkkaSpec {
import akka.dispatch.Future
import akka.util.duration._
implicit def dispatcher = system.dispatcher
val future = Future {
"Hello" + "World"
}