Fork me on GitHub
Shantanu Kumar12:12:40

Hi, is there a way to force (start component) during dependency injection (and use that result) with component/using? I'm trying to implement an instrumentation use-case - a thread-pool and a ring handler being instrumented before passing on as dependencies to other components.


Is there a way to tell if the system is running?


for e.g. (if (running? sys) (stop sys) (start sys))


No generic way, but you could make it possible for a specific system (by setting some key as part of its start lifecycle).