reagent.ratom

*ratom-context*

dynamic

->RAtom

(->RAtom state meta validator watches)

->RCursor

(->RCursor ratom path reaction)

->Reaction

(->Reaction f state dirty? active? watching watches auto-run on-set on-dispose)

->Wrapper

(->Wrapper state callback changed watches)

-running

atom

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

capture-derefed

(capture-derefed f obj)

captured

(captured obj)

cursor

(cursor src path)

debug

IComputedImpl

protocol

members

-update-watching

(-update-watching this derefed)

-handle-change

(-handle-change k sender oldval newval)

-peek-at

(-peek-at this)

IDisposable

protocol

members

dispose!

(dispose! this)

IReactiveAtom

protocol

IRunnable

protocol

members

run

(run this)

make-reaction

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

make-wrapper

(make-wrapper value callback-fn args)

RAtom

RCursor

reaction

macro

(reaction & body)

Reaction

reaction

macro

(reaction & body)

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.

running

(running)

Wrapper