atom
Channel[predicate\unknown]
An atom is simply a channel. It holds values over time.
make
atom.make: () :: atom
Create an atom
atom\deref
atom.atom\deref: () :: unknown
Retrieve the value in the atom.
atom\swap
atom.atom\swap: unknown :: unknown :: unknown
Atomically update the value in the atom with an update-block.
atom\reset
atom.atom\reset: () :: ()
Atomically reset the value in the atom to a given value.