anatoly
3d95aa9fc6
#10 : adding cljc mode (DerefableState). cljs is next.
2015-12-05 22:55:51 -05:00
anatoly
fb45dbbb4e
removing dependency on var meta
2015-12-05 20:31:17 -05:00
anatoly
7f720403ea
[ #21 ]: examples of "fn" vs. "(fn)" for a lifecycle fns
2015-12-01 08:46:43 -05:00
anatoly
f404bb4420
[logging]: status vs. started? suspendes?..
2015-11-30 22:06:24 -05:00
anatoly
958d7e345c
dev.clj: replacing start-without with start
2015-11-30 21:19:58 -05:00
anatoly
325eecf0c9
[ #21 ]: test for lifecycle private fn with args
2015-11-30 21:13:30 -05:00
anatoly
f2f4c1f3ea
removing 'replled' (run-tests)
2015-11-30 17:33:33 -05:00
anatoly
20e230b5dd
[ #20 , #21 ]: removing trampoline to take functions as values
2015-11-30 17:23:03 -05:00
anatoly
0e4e507343
unpounding lifecycle fns
2015-11-30 13:12:44 -05:00
anatoly
ead12a7e88
[ #18 ]: cleaning up stale states
...
stale running instances are going into limbo on redefs
caused by recompiling namespaces with defstates, tn/refresh, tn/refresh-all, etc.
cleaning those stale instances with their stop functions before redefining their states
2015-11-30 13:00:56 -05:00
anatoly
339d79e508
[ #19 ]: consolidating status (improvement from @aroemers)
2015-11-29 13:28:38 -05:00
anatoly
1c970e152a
[ #20 ] lifecycle fns take fns and values
2015-11-27 12:48:35 -05:00
anatoly
bbf06c46b1
[dev.clj]: (with-logging-status) on start
2015-11-23 13:28:17 -05:00
anatoly
432496863e
[ #15 ]: ">>" "<<" for start/stop logging
2015-11-23 10:51:27 -05:00
anatoly
2d1f77df92
[ #15 ]: adding logging AOP for REPL examples
2015-11-23 10:43:35 -05:00
anatoly
4e97280be9
[ #5 ]: suspendable functionality is in
2015-11-21 11:32:44 -05:00
anatoly
ed2b837555
test shell for suspendable states
2015-11-19 22:28:49 -05:00
anatoly
992f67397a
[ #5 ]: tests for (mount/stop-except)
2015-11-19 09:11:42 -05:00
anatoly
ab0b611978
mount => mount.core. fixes #11
2015-11-17 00:10:57 -05:00
anatoly
c0791c6f4a
NotStartedState for states without :stop
...
In case a state does not have a :stop function, mount would (!) assume that
nothing needs to be cleaned on stop and will intern convert this state
to mount.NotStartedState on (mount/stop)
2015-11-16 09:07:59 -05:00
anatoly
09e7c78d22
adding m/start-with
2015-11-15 22:28:43 -05:00
anatoly
4ec7bb5e57
adding m/start-without
2015-11-15 14:40:34 -05:00
anatoly
beef424715
testing with parts of an app
2015-11-14 11:05:22 -05:00
anatoly
7c6262ad7d
-main example in the #'app
2015-10-25 22:21:36 -04:00
anatoly
a5f2fa6cb3
adding nrepl; (stop) before tn/refresh(es)
2015-10-21 07:32:51 -04:00
anatoly
a63c725dcb
refactoring nyse app into "app" ns
2015-10-20 08:53:09 -04:00
anatoly
cd6a92ac58
links to nyse's :start / :stop
2015-10-20 08:36:00 -04:00
anatoly
a7424d4895
welcome mount
2015-10-19 21:33:56 -04:00