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)

remove-watcherclj

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

send-eventclj

(send-event id event payload)

Send outbound events to core.async channel

Send outbound events to core.async channel
raw docstring

sender-chanclj


startclj

(start)

Start the core.async channel consumer for watching items.

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

stopclj

(stop)

Stop the core.async channel consumer for watching items.

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

watcher-chanclj


watcher-goclj


watcher-loopclj

(watcher-loop)

watchersclj


watchers-forclj

(watchers-for watch-id)

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

× close