ActorSystem.dispatcher should be implicit for easier importability. See #2074

* Makes it more consistent with ActorContext.dispatcher
This commit is contained in:
Patrik Nordwall 2012-05-18 11:58:16 +02:00
parent d65f4bbe59
commit 2278d1fc8e

View file

@ -295,8 +295,9 @@ abstract class ActorSystem extends ActorRefFactory {
* Default dispatcher as configured. This dispatcher is used for all actors
* in the actor system which do not have a different dispatcher configured
* explicitly.
* Importing this member will place the default MessageDispatcher in scope.
*/
def dispatcher: MessageDispatcher
implicit def dispatcher: MessageDispatcher
/**
* Register a block of code (callback) to run after all actors in this actor system have