Skip to content

Conversation

zhutianhao
Copy link
Contributor

订阅事件接口可以传入事件数组,为什么要用循环调用?使用循环调用会使这些相同类型的事件被订阅到不同的事件处理wrapper对象,导致每个异步api的返回事件都会重复300多次调用这个文件中的handleEvent()。

订阅事件接口可以传入事件数组,为什么要用循环调用?使用循环调用会使这些相同类型的事件被订阅到不同的事件处理wrapper对象,导致每个异步api的返回事件都会重复300多次调用这个文件中的handleEvent()。
@live4thee
Copy link
Collaborator

Merged. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants