Introducing ExecutionContext to MessageDispatcher and attaching it to Future
This commit is contained in:
parent
018033b9d5
commit
b34dc4c33b
4 changed files with 97 additions and 78 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue