-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Modules need a hook that provides functionality that isn't currently provided by SetupContainer. In pbm_alert's case I ran into an issue where I needed to create a looping timer that queried a database; this isn't currently supported.
Digging in I found that the most direct way to add this functionality would be to simply extend SetupContainer and add query functionality for use in module inits. For the time being I do like how SetupContainer provides reactor-thread-safe versions of Container's methods.
I'm thinking that's what I'll do for now until we address how deeply coupled Factory/Settings/Container/Dispatcher are.
Alternatively I can simply fire a fake SignedOn event on reload/etc, but that seems less intuitive to me.
Reactions are currently unavailable