Closed Kalinovych closed 11 years ago
Not directly within the framework itself. If you are dispatching the event yourself you can be sure that all processing will have taken place by the next line though.
So you mean I need to send 2 messages each time like it:
dispatch(new DataEvent(DataEvent.DATA_UPDATED));
dispatch(new SomeEvent(SomeEvent.DO_SOMETHING_AFTER_DATA_UPDATE_PROCESSED));
Or you could add a listener with a really low priority - that will ensure that it only gets called at the very end.
I'm going to close this ticket for now. Feel free to create a new ticket for any other issues.
Hi, I need to know and to do some action when all commands wired with some event executed and all mediators subscribed to the event completed with it handling. Is there any way to do it?