mount 2018-08-30

@dm3 So if :start returns a Promise, then every time you use it (including in :stop) you have to call .then on it?

@hi895 has joined the channel

I have a question too, if I have defstate like the following:

(defstate ^{:doc "The system config"}
  map
  :start (s/assert* :my/config (read-config)))
in ClojureScript, is the :start method called (a therefore throw) when I require the namespace it lives in?

you can’t wait in javascript, only attach callbacks