tolitius / mount

managing Clojure and ClojureScript app state since (reset)
Eclipse Public License 1.0
1.23k stars 89 forks source link

Make `:start` value a function call. #51

Closed ideal-knee closed 8 years ago

ideal-knee commented 8 years ago

In the existing example, (defstate conn :start create-conn) simply binds conn to the function create-conn, rather than the result of calling the function.

tolitius commented 8 years ago

sure, makes sense, thanks!