Henry.He
Henry.He
accepted, thx!
一般内聚性高的业务逻辑可以直接在transition和entry/exit中实现, 具体在哪里实现取决于业务的粒度. 状态机与外部系统的交互可以通过状态事件来实现. 状态机Builder的创建需要一定时间, 所以状态机builder最好复用. 但是状态机实例创建的成本很低, 没有必要增加状态机池. 加载业务上下文后, 直接构造状态机实例即可.
@peterpanzsy 这个项目暂时不会有大的更新,主要的功能都已经完善。谢谢你的关注!
You can fire event inside your state method. You can find this kind of usage in DecisionStateSampleTest class.
go head, pass all the unit test
@amb-it-ion thanks for your suggestion. It is reasonable. However, most of squirrel user today still not upgrade to Java 8, so I cannot perform this change right now. But I...
@dant3 can you let me know what kind of changes you have made to make squirrel usable for android?
@dant3 thanks!
@GoncaloAlmeidaPTC I am sorry. There is no recent plan for support Java8 features. But I will try to come up with a plan when I have time.
Thanks for reporting this issue. Normally transition should only be triggered once when single event fired. I don't know what is the problem now. It would be helpful if you...