mount

tolitius 2018-09-11T18:47:49.000200Z

@kanwei what are you trying to do? i.e. in case you need to start "something" after everything is up, you can start everything except "that something", and then start "that something"

tolitius 2018-09-11T18:50:36.000100Z

(-> (mount/except [#'foo/c
                   #'bar/d])
    mount/start)

(mount/start)
or
(-> (mount/only #{#'foo/a
                  #'foo/b
                  #'baz/c})
    (mount/except [#'foo/d])
    mount/start)

(mount/start #'foo/d)

tolitius 2018-09-11T18:50:47.000100Z

this might help: https://github.com/tolitius/mount#composing-states

2018-09-11T18:55:51.000100Z

@tolitius thanks, it turned out to be a threading issue instead

2018-09-11T18:56:10.000100Z

we were trying to run a bunch of tests but the runner we used was creating a new thread

tolitius 2018-09-11T19:05:47.000100Z

ah, k. good it is resolved