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-reaction!clj/s

(compute-reaction! rx-map rxn)
source

create-reactive-mapclj/s

(create-reactive-map root)
source

get-reactionclj/s

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

get-reaction-idsclj/s

(get-reaction-ids rx-map)
source

has-reaction?clj/s

(has-reaction? rx-map id)
source

infer-args-formatclj/s

(infer-args-format m-or-s args)
(infer-args-format m-or-s 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

IRxMapclj/sprotocol

-add-reaction!clj/s

(-add-reaction! this rx-config)

-get-valueclj/s

(-get-value this id)

-has-reaction?clj/s

(-has-reaction? this id)

-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

reset-root!clj/s

(reset-root! rx v)
source

RxMapcljs

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