Liking cljdoc? Tell your friends :D

domino.rx


add-reaction!clj/s

(add-reaction! reactive-map rx-config)
source

add-reactions!clj/s

(add-reactions! reactive-map reactions)
source

args->inputsclj/s

(args->inputs args-format args)

Normalizes args to a canonical vector format. For use in determining input reaction IDs. Ensure that rx-fn is wrapped in a processing fn that will properly structure incoming args.

Normalizes args to a canonical vector format.
For use in determining input reaction IDs.
Ensure that rx-fn is wrapped in a processing fn that will properly structure incoming args.
sourceraw docstring

compute-reactionclj/s

(compute-reaction rx-map _)
source

create-reactive-mapclj/s

(create-reactive-map values-map)
source

get-reactionclj/s

(get-reaction rx-map rx-id)
source

IDominoReactionclj/sprotocol

-add-watchclj/s

(-add-watch this key f)

-downstreamclj/s

(-downstream this)

-get-valueclj/s

(-get-value this)

-mark-stale!clj/s

(-mark-stale! this)

-remove-watchclj/s

(-remove-watch this key)

-stale?clj/s

(-stale? this)

-upstreamclj/s

(-upstream this)
source

IDominoRxMapclj/sprotocol

-add-reaction!clj/s

(-add-reaction! this rx-config)

-get-reactionclj/s

(-get-reaction this id)

Finds the registered reaction. Should throw if unregistered.

Finds the registered reaction. Should throw if unregistered.

-remove-reaction!clj/s

(-remove-reaction! this rx-id cascade?)

-reset-root!clj/s

(-reset-root! this v)

-swap-root!clj/s

(-swap-root! this f)
(-swap-root! this f a)
(-swap-root! this f a b)
(-swap-root! this f a b c)
(-swap-root! this f a b c d)
(-swap-root! this f a b c d e)
(-swap-root! this f a b c d e f)
(-swap-root! this f a b c d e f args)
source

infer-args-formatclj/s

(infer-args-format m args)
(infer-args-format m args default)

Expects a partial rx map and a args parameter from a reaction config. Based on structure of args and whether it exists in partial rx map it returns a keyword specifying the args type it expects. Optionally accepts a default type as a third argument.

Expects a partial rx map and a args parameter from a reaction config.
Based on structure of args and whether it exists in partial rx map it returns a keyword specifying the args type it expects.
Optionally accepts a default type as a third argument.
sourceraw docstring

IRxResettableclj/sprotocol

-reset!clj/s

(-reset! this new-v)
source

parse-rx-configclj/s

(parse-rx-config m rx-config)

Transforms a reaction config map into a standard RxReaction creation map. Doesn't modify the partial-rx-map passed in, it is only used to match input reactions for args-format inferrence.

Transforms a reaction config map into a standard RxReaction creation map.
Doesn't modify the `partial-rx-map` passed in, it is only used to match input reactions for args-format inferrence.
sourceraw docstring

reset-root!clj/s

(reset-root! rx v)
source

RxMapcljs

source

RxReactioncljs

source

RxRootcljs

source

update-root!clj/s

(update-root! rx f & args)
source

update-root-implclj/s

(update-root-impl rx f)
(update-root-impl rx f a)
(update-root-impl rx f a b)
(update-root-impl rx f a b c)
(update-root-impl rx f a b c d)
(update-root-impl rx f a b c d e)
(update-root-impl rx fun a b c d e f)
(update-root-impl rx fun a b c d e f & args)
source

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

× close