Fork me on GitHub
#component
<
2021-12-10
>
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.

vlaaad22:12:28

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

vlaaad22:12:10

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

seancorfield22:12:55

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