Liking cljdoc? Tell your friends :D

clj-toolbox.atoms

Tools for atoms with extra effects

Tools for atoms with extra effects
raw docstring

make-file-backed-atomclj

(make-file-backed-atom filename)
(make-file-backed-atom filename default-value)

Takes a filename and an optional default value. Returns an atom that will write its value to the file every time it is updated The initial value of the atom will be either the contents of the file if it exists, the default-value, or nil

Takes a filename and an optional default value.
Returns an atom that will write its value to the file every time it is updated
The initial value of the atom will be either the contents of the file if it exists, the default-value, or nil
raw docstring

watch-changed-timestampclj

(watch-changed-timestamp a)

Takes an atom and returns another atom that will be updated with a timestamp (long, number of milliseconds since UNIX epoch) every time the input atom is updated

Takes an atom and returns another atom that will be updated with a timestamp (long, number of milliseconds since UNIX epoch) every time the input atom is updated
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close