registerListenerHost
fun registerListenerHost(host: ListenerHost, coroutineContext: CoroutineContext = EmptyCoroutineContext)
注册 ListenerHost 中的所有 EventHandler 标注的方法到这个 EventChannel. 查看 EventHandler.
Parameters
coroutineContext
在 defaultCoroutineContext 的基础上, 给事件监听协程的额外的 CoroutineContext