DEV Community

Discussion on: Messaging pattern with (statically) enforced order?

Collapse
 
mindplay profile image
Rasmus Schultz

I'm honestly not worried about it - there are much fewer test-frameworks than there are listeners. The test-framework should have a test-suite that checks the message order, and the listeners shouldn't need to worry about it at all - they should simply assume the message order is sane. It's not on the interfaces to provide this guarantee, it's on the test-framework.