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
我觉得flux的事件流和handler的机制非常相似,如action和handler的message很相似,dispatcher的功能类似于handler的sendMessage,而store的功能可以用handleMessage和eventbus结合实现。以上只是我个人的理解,不知道这样理解的对不对,还请大神解疑,感谢
The text was updated successfully, but these errors were encountered:
我觉得你的理解是对的.利用Handler确实可以部分实现flux的单数据流流程. 但是handle并没有提供文中说到的 A依赖B A需要在B之后才得到通知的逻辑. sendMessageDelay好像可以勉强实现这个功能,但是有点牵强.
Sorry, something went wrong.
才接触,待了解。
No branches or pull requests
我觉得flux的事件流和handler的机制非常相似,如action和handler的message很相似,dispatcher的功能类似于handler的sendMessage,而store的功能可以用handleMessage和eventbus结合实现。以上只是我个人的理解,不知道这样理解的对不对,还请大神解疑,感谢
The text was updated successfully, but these errors were encountered: