Liking cljdoc? Tell your friends :D

appkit.citrus


dispatch!clj/s

(dispatch! event & args)

Invoke an event on particular controller asynchronously

(citrus/dispatch! :user/load "id")

Arguments

event - a dispatch value of a method defined in the controller args - arguments to be passed into the controller

Invoke an event on particular controller asynchronously

  (citrus/dispatch! :user/load "id")

Arguments

  event      - a dispatch value of a method defined in the controller
  args       - arguments to be passed into the controller
sourceraw docstring

dispatch-sync!clj/s

(dispatch-sync! event & args)

Invoke an event on particular controller synchronously

(citrus/dispatch-sync! :users/load "id")

Arguments

event - a dispatch value of a method defined in the controller args - arguments to be passed into the controller

Invoke an event on particular controller synchronously

  (citrus/dispatch-sync! :users/load "id")

Arguments

 event      - a dispatch value of a method defined in the controller
  args       - arguments to be passed into the controller
sourceraw docstring

reactclj/s

(react path)
source

subscriptionclj/s

(subscription path)
(subscription path reducer)

Create a subscription to state updates

(citrus/subscription [:users 0] (juxt [:fname :lname]))

Arguments

path - a vector which describes a path into reconciler's atom value reducer - an aggregate function which computes a materialized view of data behind the path

Create a subscription to state updates

  (citrus/subscription [:users 0] (juxt [:fname :lname]))

Arguments

  path       - a vector which describes a path into reconciler's atom value
  reducer    - an aggregate function which computes a materialized view of data behind the path
sourceraw docstring

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

× close