defstate
macro now declares the resulting var as :dynamic
. This enables the use of binding
in tests.IPersistentStack
, thus now supports Clojure's peek
. This can be used to inspect the value, without starting it.:unrealized
instead of :not-delivered
.*print-length*
of 10.state*
function now takes a :name
key, instead of :ns-str
and :name-str
. The new entry must be a symbol and is still optional.IReference
instead of IObj
. This means that with-meta
support has been replaced with alter-meta!
and reset-meta!
. This way updating meta data does not result in a new State object anymore.watchpoint
now receive one of :starting
, :started
, :stopping
or :stopped
as the third argument, and the State object as the fourth argument.defstate
macro could sometimes mistake a string or map value for a docstring or attribute map. For example, this would fail (defstate foo "bar" :stop (println this))
. This is now fixed.close!
was added, which closes a State by force by skipping its stop logic.defstate
is skipped and yields a warning.state*
function no longer requires a :stop-fn
function.state*
function is now public and documented.Initial release
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close