new-> restart listener

This commit is contained in:
anatoly 2016-11-02 11:25:44 -04:00
parent e9ba02b5a5
commit 7d323e727e

View file

@ -319,6 +319,11 @@
(apply stop states)
(apply start states))))
(defn restart-listner
([]
(restart-listner {}))
([watchers]
(RestartListener. (atom watchers))))
;; explicit, not composable (subject to depreciate?)