(->atom-binding atm value-func)
Positional factory function for singultus.binding/atom-binding.
Positional factory function for singultus.binding/atom-binding.
(->bound-collection atm notif opts stuff)
Positional factory function for singultus.binding/bound-collection.
Positional factory function for singultus.binding/bound-collection.
(->notifier watches)
Positional factory function for singultus.binding/notifier.
Positional factory function for singultus.binding/notifier.
(-on-change this func)
On change of this binding execute func
On change of this binding execute func
(-value this)
get the current value of this binding
get the current value of this binding
(-compute this)
compute the latest value
compute the latest value
(-depend this atm)
depend on an atom
depend on an atom
(sub-reset! sa new-value)
Sets the value of atom to newval without regard for the current value. Returns newval.
Sets the value of atom to newval without regard for the current value. Returns newval.
(sub-swap! sa f)
(sub-swap! sa f x)
(sub-swap! sa f x y)
(sub-swap! sa f x y z)
(sub-swap! sa f x y z & more)
Atomically swaps the value of atom to be: (apply f current-value-of-atom args). Note that f may be called multiple times, and thus should be free of side effects. Returns the value that was swapped in.
Atomically swaps the value of atom to be: (apply f current-value-of-atom args). Note that f may be called multiple times, and thus should be free of side effects. Returns the value that was swapped in.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close