Concurrency
Creates and returns an Atom with an initial value of x and zero or more options (in any order): :meta metadata-map :va...
functioncljs.core
Atomically sets the value of atom to newval if and only if the current value of the atom is equal to oldval. Returns tru...
functioncljs.core
Sets the value of atom to newval without regard for the current value. Returns new-value.
functioncljs.core
Sets the value of atom to newval. Returns [old new], the value of the atom before and after the reset.
functioncljs.core
Atomically swaps the value of atom to be: (apply f current-value-of-atom args). Note that f may be called multiple times...
functioncljs.core
Atomically swaps the value of atom to be: (apply f current-value-of-atom args). Note that f may be called multiple times...
functioncljs.core
- macro
cljs.core
Creates and returns a Volatile with an initial value of val.
functioncljs.core
Returns true if x is a volatile.
functioncljs.core
Sets the value of volatile to newval without regard for the current value. Returns newval.
functioncljs.core
Non-atomically swaps the value of the volatile as if: (apply f current-value-of-vol args). Returns the value that was sw...
macrocljs.core