Liking cljdoc? Tell your friends :D

convey.core


dispatchclj/s

(dispatch ctx actions)

Dispatch the actions with the ctx map. The ctx map is equalivent with replicant-data

Dispatch the actions with the ctx map. The ctx map is equalivent
with replicant-data
raw docstring

dispatch-jscljs

(dispatch-js replicant-data actions)

Same as dispatch, but to be used only from within js

Same as dispatch, but to be used only from within js
raw docstring

dispatcherclj/s


flush!clj/s

(flush!)

Flush the event queue

Flush the event queue
raw docstring

initclj/s

(init opts db ctx render-fn enrichments)

Initialize convey

  • opts {:all-sync? #{true false}} - set this to sync all events and skip the event router
  • db - which db you want to use. can be an atom, datascript, etc
  • ctx - static ctx map. will be used when an ctx map is created for an action
  • render-fn - what will be used to render after the event router has finished all events
  • enrichments - enrichment map
Initialize convey
- opts
{:all-sync? #{true false}} - set this to sync all events and skip the event router
- db - which db you want to use. can be an atom, datascript, etc
- ctx - static ctx map. will be used when an ctx map is created for an action
- render-fn - what will be used to render after the event router has finished all events
- enrichments - enrichment map
raw docstring

protectclj/s

(protect actions)

Protect actions from enrichments

Protect actions from enrichments
raw docstring

reg-actionclj/s

(reg-action action-name action-fn)

Register an action

Register an action
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close