Liking cljdoc? Tell your friends :D

re-frisk.inlined-deps.reagent.v1v0v0.reagent.ratom


*ratom-context*cljs


atomcljs

(atom x)
(atom x & {:keys [meta validator]})

Like clojure.core/atom, except that it keeps track of derefs.

Like clojure.core/atom, except that it keeps track of derefs.
raw docstring

check-derefscljs

(check-derefs f)

cursorcljs

(cursor src path)

debugcljs


flush!cljs

(flush!)

IDisposablecljsprotocol

add-on-dispose!cljs

(add-on-dispose! this f)

dispose!cljs

(dispose! this)

IReactiveAtomcljsprotocol


IRunnablecljsprotocol

runcljs

(run this)

make-reactioncljs

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

make-trackcljs

(make-track f args)

make-track!cljs

(make-track! f args)

make-wrappercljs

(make-wrapper value callback-fn args)

RAtomcljs


RCursorcljs


reactionclj/smacro

(reaction & body)

Reactioncljs


reactive?cljs

(reactive?)

run!clj/smacro

(run! & body)

Runs body immediately, and runs again whenever atoms deferenced in the body change. Body should side effect.

Runs body immediately, and runs again whenever atoms deferenced in the body change. Body should side effect.
raw docstring

run-in-reactioncljs

(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.

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`.
raw docstring

runningcljs

(running)

trackcljs

(track f & args)

Trackcljs


track!cljs

(track! f & args)

with-letclj/smacro

(with-let bindings & body)

with-let-destroycljs

(with-let-destroy v)

with-let-valuescljs

(with-let-values key)

Wrappercljs

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close