Liking cljdoc? Tell your friends :D

nsfw.ops

Provides message-based dispatching and context sharing. This helps with decoupling disparate parts of an app while sharing a common context (e.g. app state, windows, connections) between those parts.

Provides message-based dispatching and context sharing. This helps
with decoupling disparate parts of an app while sharing a common
context (e.g. app state, windows, connections) between those parts.
raw docstring

apply-statecljs

(apply-state !state state params)
source

buscljs

(bus context handlers & [{:keys [debug?]}])
source

chan?cljs

(chan? c)
source

datacljs

(data op)
source

Dispatchercljsprotocol

set-debug!cljs

(set-debug! this id f)

bind!cljs

(bind! this kw->f)

set-ctx!cljs

(set-ctx! this ctx)

sendcljs

(send this op)
(send this op data)

unbind!cljs

(unbind! this kws)

clear-debug!cljs

(clear-debug! this id)
source

gen-lock-stepcljs

(gen-lock-step handler)
source

handle-stepcljs

(handle-step res params !state ctx)
source

kitcljs

(kit !state ctx handlers & [opts])
source

opcljs

(op {:keys [op op-id data on-ack on-error auth]})
source

wrap-kit-handlerscljs

(wrap-kit-handlers handlers)
source

wrap-with-statecljs

(wrap-with-state with-state)
(wrap-with-state h with-state & args)
source

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

× close