Fork me on GitHub
#luminus
<
2017-11-02
>
imetallica13:11:09

Hey folks, how do I access a value from defstate from mount in another namespace?

jmayaalv13:11:48

@imetallica nothing fancy really. u just require the namespace and use it. ex:

(ns sample)
(defstate my-state :start ....)
in another ns
(ns other-ns
   (:require [sample :as sample])

(println sample/my-state))