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.
如何确保m2只m1在后台处理? 例如
m2
m1
Klass.background(order:1).m1 Klass.background(order:2).m2
没有
<@bbrowning> 有消息优先级的概念,但在消息发布后没有任何严格的消息顺序
可以通过包装方法模拟:
def two_in_order_bckd m1 m2 end background.two_in_order_bckd