reagent.ratom

*ratom-context*

dynamic

atom

(atom x)(atom x & {:keys [meta validator]})
Like clojure.core/atom, except that it keeps track of derefs.

check-derefs

(check-derefs f)

cursor

(cursor src path)

debug

flush!

(flush!)

IDisposable

protocol

members

dispose!

(dispose! this)

add-on-dispose!

(add-on-dispose! this f)

IReactiveAtom

protocol

IRunnable

protocol

members

run

(run this)

make-reaction

(make-reaction f & {:keys [auto-run on-set on-dispose]})

make-track

(make-track f args)

make-track!

(make-track! f args)

make-wrapper

(make-wrapper value callback-fn args)

RAtom

RCursor

reaction

macro

(reaction & body)

Reaction

reaction

macro

(reaction & body)

reactive?

(reactive?)

run!

macro

(run! & body)
Runs body immediately, and runs again whenever atoms deferenced in the body change. Body should side effect.

run!

macro

(run! & body)
Runs body immediately, and runs again whenever atoms deferenced in the body change. Body should side effect.

run-in-reaction

(run-in-reaction f obj key run opts)
Evaluates `f` and returns the result.  If `f` calls `deref` on any ratoms,
creates a new Reaction that watches those atoms and calls `run` whenever
any of those watched ratoms change.  Also, the new reaction is added to
list of 'watches' of each of the ratoms. The `run` parameter is a function
that should expect one argument.  It is passed `obj` when run.  The `opts`
are any options accepted by a Reaction and will be set on the newly created
Reaction. Sets the newly created Reaction to the `key` on `obj`.

running

(running)

track

(track f & args)

Track

track!

(track! f & args)

unchecked-aget

macro

(unchecked-aget array idx)(unchecked-aget array idx & idxs)

unchecked-aget

macro

(unchecked-aget array idx)(unchecked-aget array idx & idxs)

unchecked-aset

macro

(unchecked-aset array idx val)(unchecked-aset array idx idx2 & idxv)

unchecked-aset

macro

(unchecked-aset array idx val)(unchecked-aset array idx idx2 & idxv)

with-let

macro

(with-let bindings & body)

with-let

macro

(with-let bindings & body)

with-let-destroy

(with-let-destroy v)

with-let-values

(with-let-values key)

Wrapper