Skip to content
New issue

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

关于CC的一些建议 #178

Open
NerdAnonymous opened this issue Jul 10, 2020 · 1 comment
Open

关于CC的一些建议 #178

NerdAnonymous opened this issue Jul 10, 2020 · 1 comment

Comments

@NerdAnonymous
Copy link

NerdAnonymous commented Jul 10, 2020

其实可以向MVPArms那样,有一些案例项目,让新手更好的参考。比方像微信这样的一个项目,用CC如何去组件化,一个合适的案例会更方便的去了解掌握CC

@GthanosAI
Copy link

关于异步的机制,目前中采用的这种wait方式不太合理。是否可以参考一下eventbus。 既然是总线方案,肯定存在一对多的场景。例如要实现订阅模式,在在某个单例里监听某类消息callId,如果没有设置timeout的情况下,当消息永久没有生产的情况下,这样就会有问题,因为每个订阅者都是一个线程等待(如果不设置超时时间的话)这样就带来了线程大量创建的问题。

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

No branches or pull requests

2 participants