This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
When using clip, is it a good idea to extract the config and use it outside the component system? This could save some trouble of passing the parameters around.
(defonce (delay (lazy-loaded-config (read-config (io/resource "config.edn"))))
;; use lazy-loaded-config in other namespaces.
(defn -main []
(let [system-config @lazy-loaded-config]
(clip/start system-config)
@(promise)))