We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
上图中,你针对不同type遍历对应的listener里的回调,然后参数是messages[type]?? 这样做,如果我发布了多个相同type=A的消息,但是只有一个人订阅,循环也就只执行一次,就只拿messages[0]第一条消息??
type
listener
messages[type]
type=A
messages[0]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
上图中,你针对不同
type
遍历对应的listener
里的回调,然后参数是messages[type]
??这样做,如果我发布了多个相同
type=A
的消息,但是只有一个人订阅,循环也就只执行一次,就只拿messages[0]
第一条消息??The text was updated successfully, but these errors were encountered: