Hi!

According to the documentation:

http://doc.akka.io/api/akka/2.3.4/?_ga=1.112931396.1579561034.1353497989#akka.actor.ActorContext

implicit abstract defdispatcher: ExecutionContextExecutor
<http://www.scala-lang.org/api/2.10.4/index.html#scala.concurrent.ExecutionContextExecutor>

Returns the dispatcher (MessageDispatcher) that is used for this Actor.
Importing this member will place an implicit ExecutionContext in scope.
Definition ClassesActorContext
<http://doc.akka.io/api/akka/2.3.4/akka/actor/ActorContext.html> →
ActorRefFactory
<http://doc.akka.io/api/akka/2.3.4/akka/actor/ActorRefFactory.html>

http://www.scala-lang.org/api/2.10.4/index.html#scala.concurrent.ExecutionContextExecutor

traitExecutionContextExecutor extends ExecutionContext
<http://www.scala-lang.org/api/2.10.4/scala/concurrent/ExecutionContext.html>
 with Executor


TL;DR: Yes

On Sun, Aug 3, 2014 at 3:09 PM, Tim Pigden <[email protected]> wrote:

> Hi
> From an actor I've got to call some java code that requires me to pass in
> a Executor (java.util.concurrent.Executor)
>
> Is it as simple as passing in the context.dispatcher?
>
>
>
>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Cheers,
√

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to