Liking cljdoc? Tell your friends :D

oc.lib.async.watcher

Track which 'watchers' are 'watching' which resources.

Use of this watcher is through core/async. A message is sent to the watcher-chan to register interest, unregister interest and send something to all that have registered interest.

The sending to registered listeners is the resposibility of the user of this watcher and is done by consuming the core.async sender-chan from this namespace.

Track which 'watchers' are 'watching' which resources.

Use of this watcher is through core/async. A message is sent to the `watcher-chan` to
register interest, unregister interest and send something to all that have registered interest.

The sending to registered listeners is the resposibility of the user of this watcher and is
done by consuming the core.async `sender-chan` from this namespace.
raw docstring

add-watcherclj

(add-watcher watch-id client-id)
source

remove-watcherclj

(remove-watcher client-id)
(remove-watcher watch-id client-id)
source

send-eventclj

(send-event id event payload)

Send outbound events to core.async channel

Send outbound events to core.async channel
sourceraw docstring

sender-chanclj

source

startclj

(start)

Start the core.async channel consumer for watching items.

Start the core.async channel consumer for watching items.
sourceraw docstring

stopclj

(stop)

Stop the core.async channel consumer for watching items.

Stop the core.async channel consumer for watching items.
sourceraw docstring

watcher-chanclj

source

watcher-goclj

source

watcher-loopclj

(watcher-loop)
source

watchersclj

source

watchers-forclj

(watchers-for watch-id)
source

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

× close