摘要: ask (?) actor 本身是没有 ask 函数的,如果想用 ask 函数,需要引入 akka.pattern.ask 依赖。Akka 官方并不推荐使用 ask 函数,因为它意味着处理 message 的 actor (receiver) 需要把处理结果返回 sender,这就引入了 sende 阅读全文
posted @ 2018-08-21 14:29 Lucas_Yu 阅读(425) 评论(0) 推荐(0) 编辑