Order of execution

It’s mentioned here, in “A Practical Guide” and here, in “Understanding Streams, Patterns, and Events”. Actual implementation here, with an excellent plain english explanation in this comment.

Hope that helps! It was quite eye opening for me when I discovered it.