Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个有几个正交状态的状态机。这些状态对同一事件作出反应。当事件通过 发送时process_event,一个简单的基准告诉我它是按顺序处理的,即使状态彼此正交。
process_event
有没有办法让这些正交状态并行处理事件?
据我所知,不,你不能。最接近的是使用异步状态机