Re: com.stuartsierra.component dynamic component addition/removal question

2015-08-11 Thread Dave Tenny
Or maybe I just do (start (assoc system :new-subscriber (component/using (make-subscriber) [:connection]))) and ensure idempotent start capabilities across all components that will not attempt restarts. ? Just looking for the idiomatic component way of doing this. On Tuesday, August 11, 201

com.stuartsierra.component dynamic component addition/removal question

2015-08-11 Thread Dave Tenny
I want to add components to a started system, but I'm unsure of a component-idiomatic way to do that. I don't want to restart the whole component stack. I'm guessing assoc'ing a new component to the system-map result isn't a good idea (though I've read words that sounded like it was a fine thi