Hi,
onSuccess or onFailure runs on any of the threads that are available in the
underlying ExecutionContext. An actor does not "have" a thread, although it
gets one for execution when there are messages to process, but then it
gives back that thread to the underlying pool. You should definitely no
dear all,
I have two actor A and B. When A send a message to B and must wait for
response. And I know I can use ask to implement this. But it will block the
thread. So future.onSuccess and future.onFailure must be a good way. I
don't know the callback onSuccess or onFailure runs on A or B's