I notice that events are namespace driven, meaning an event of foo.bar
will go to event subscribers for foo and foo.bar. Is there a way to
enforce ordering of the events as they are given to subscribers. For
instance, if I have one subscriber of foo.bar and one subscriber of
foo and send an event foo.bar, can I ensure that the subscriber of
foo.bar receives and processes the event before the foo subscriber or
vice versa? This probably seems like a convoluted situation....and it
probably is, now that I am writing it out :)....either way, just
curious about this, I may find another way to do this...
I guess the general question is I want to fire an event to cause
something to happen in one plugin, and another thing to happen in
another but I need to ensure that the first action happens before the
second. Another way to handle this would be to track whether the
processing of an event is complete or not. Is that possible either?
That's what I figured. No problem, just thought it would be an
interesting way to handle this but I have another way to do it.