Re: Composing Stuart Sierra's components

2015-04-16 Thread Dan Kee
1. Define a custom record for your "super system" >implementing component/Lifecycle in a way that knows how >to start the subsystems in the correct order without >`assoc`ing their dependencies. > > 2. Define the `start` and `stop` methods of :foo and :bar to >

Re: Composing Stuart Sierra's components

2015-04-15 Thread Dan Kee
Sorry to resurrect an old thread with a somewhat tangential question but... I'm seeing strange behavior in nesting systems that I am hoping someone can explain. I have two independent systems as components of a super system, with an artificial dependency to attempt to enforce ordering of starti