Hi all, I'm looking for some advice.
I have multiple proxies which make requests for data in their onRegister method. The proxies are all initialised simultaneously in a StartupCommand as the application starts, and the returned data from across all proxies is required before the rest of the application can run (they load navigation, content, etc).
The way I'm planning on handling this was to have a mediator, lets call it ApplicationMediator, which listens for completion notifications from each individual proxy, setting a boolean 'completed' value, and sending an "all data loaded" notification when all the boolean values are true.
Does this sound a reasonable solution, or is there any other alternatives I should be considering?