Hi Dennis,
Right now I don't think it's possible to send an event to a presenter/
child module without it to be instantiated/loaded (in other words,
it's not possible to ignore presenter/child module that aren't
instantiated/loaded).
For my current application, when we log in/out a user, we to fire the
current history token. This way we can reset our application to the
state it was before the log in/log out but by integrating the new
state of the user (the history converter is in charge of retrieving
the state of the user before firing the event stores in the history
token). Firing the current history token doesn't reload your
application.
Now this solution may not work for you and it could be nice to improve
the framework to cover the case you described. We could add a new
parameter to @Event to indicate if presenter/child modules not
instantiated should be ignored or not.
@Event(...,ignoreNotBuilt=true)
void oneEvent(...)
maybe a better name could be found for the attribute (instead of
ignoreNotBuilt).
What do you think?
Thanks,
Pierre