howech/gestalt

Fill out the functionality of the 'loaded' event.

Closed this issue · 2 comments

There needs to be a way to detect when the configuration is sufficiently loaded that it makes sense to start using it. The 'loaded' event does for when the file object has loaded its configuration, but it is not handled consistently by container and remap.

Also, it might be nice to have a way to programatically get an inventory of the resources that are involved in the creation of a container object and report on which ones succeeded or failed, etc.

I think that I am going to change this to a 'ready' event. Still working on the semantics.

Ready event now mostly works. ContainerConfig objects will wait until all components are 'ready' to issue a ready, but changes to the stack may result in odd behaviors.