ApplicationLoader 内部是否存在隐式执行上下文
Is there an implicit execution context inside of ApplicationLoader
我正在考虑为我的 Play 应用程序创建我自己的自定义 ApplicatoinLoader。
这里某处隐藏了自定义执行上下文吗?
这是否意味着在我的自定义应用程序加载器内部,我可以连接我的自定义 akka actor 而不必创建自定义执行上下文?
该执行上下文继承自 BuiltInComponents
:
它继承自 AkkaComponents
:
如您所见,执行上下文只是 actor 系统的默认调度程序。
我正在考虑为我的 Play 应用程序创建我自己的自定义 ApplicatoinLoader。
这里某处隐藏了自定义执行上下文吗?
这是否意味着在我的自定义应用程序加载器内部,我可以连接我的自定义 akka actor 而不必创建自定义执行上下文?
该执行上下文继承自 BuiltInComponents
:
它继承自 AkkaComponents
:
如您所见,执行上下文只是 actor 系统的默认调度程序。