new-> restart listener

This commit is contained in:
anatoly 2016-11-02 11:25:44 -04:00
parent 9b063504e8
commit d9ea3a56f0

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?)