mount

dm3 2018-08-30T06:52:09.000100Z

you can’t wait in javascript, only attach callbacks

aaron51 2018-08-30T17:12:08.000100Z

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

richiardiandrea 2018-08-30T21:56:47.000100Z

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?