diff --git a/src/mount/core.cljc b/src/mount/core.cljc index cbe0afe..1917961 100644 --- a/src/mount/core.cljc +++ b/src/mount/core.cljc @@ -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?)