square/otto — pull request #31 by mrenouf (2012-10-21 05:10:13+00:00)
Title: Adds priority to @Produce methods

Adds a priority to producer methods, ensuring preexisting values are delivered in a predictable order.

In reviewing, pay close attention to the changes in Bus.register, especially when dispatching existing producers for newly found subscribers. (~line 224). It's possible I didn't fully understand the operations done there but I removed an extra inner loop where found subscribers were checked for membership in the set of all subscribers for a given event type.