(action:add key {:keys [subscribe unsubscribe args wrap] :as m})
adds an action from registry
adds an action from registry
(action:remove key)
removes an action from registry
removes an action from registry
(config:add redis events)
(config:add redis events opts)
adds config notifications
adds config notifications
(config:get redis)
(config:get redis opts)
gets the config for notifications
gets the config for notifications
(config:remove redis events)
(config:remove redis events opts)
removes config notifications
removes config notifications
(config:set redis events)
(config:set redis events opts)
sets the config for notifications
sets the config for notifications
(events-parse s)
creates a set of enums from a string
creates a set of enums from a string
(events-string events)
creates a string from a set of enums
creates a string from a set of enums
(has-notify redis id)
checks that a given notify listener is installed
checks that a given notify listener is installed
(list-notify redis)
lists all notify listeners for a client
lists all notify listeners for a client
(listener-string {:keys [type connection] :as listener})
string description of a listener
string description of a listener
(listener:add type redis id input handler)
(listener:add type
{:keys [namespace runtime pool] :as redis}
id
input
handler
opts)
adds a listener to the redis client
adds a listener to the redis client
(listener:all {:keys [runtime]})
lists all listeners
lists all listeners
(listener:count {:keys [runtime]})
counts all listeners
counts all listeners
(listener:create {:keys [namespace pool] :as redis} type id input handler)
creates a listener
creates a listener
(listener:get {:keys [runtime]} type id)
gets a client listener
(-> (doto |client| (subscribe :foo ["foo"] prn)) (listener:get :subscribe :foo)) => listener?
gets a client listener (-> (doto |client| (subscribe :foo ["foo"] prn)) (listener:get :subscribe :foo)) => listener?
(listener:list {:keys [runtime]})
lists all listeners
(-> (doto |client| (subscribe :foo ["foo"] prn) (psubscribe :bar "*" prn)) (listener:list)) => {:subscribe [:foo] :psubscribe [:bar]}
lists all listeners (-> (doto |client| (subscribe :foo ["foo"] prn) (psubscribe :bar "*" prn)) (listener:list)) => {:subscribe [:foo] :psubscribe [:bar]}
(listener:remove type {:keys [runtime] :as redis} id)
removes a listener from the client
removes a listener from the client
(listener:teardown {:keys [type connection] :as listener})
tears down the listener
tears down the listener
(listener? obj)
checks that object is a listener
checks that object is a listener
(notify redis id pattern handler)
notifications for a given client
notifications for a given client
(notify:args namespace inputs)
produces the notify args
produces the notify args
(notify:wrap handler {:keys [namespace] :as redis})
wrapper for the notify delivery function
wrapper for the notify delivery function
(psubscribe redis id pattern handler)
subscribes to a pattern on the cache
subscribes to a pattern on the cache
(psubscribe:wrap handler {:keys [format] :as redis})
wrapper for the psubscribe delivery function
wrapper for the psubscribe delivery function
(punsubscribe redis id)
unsubscribes from the pattern
unsubscribes from the pattern
(start:events-redis redis events)
creates action for :events
creates action for `:events`
(start:notify-redis redis listeners)
creates action for :notify
creates action for `:notify`
(stop:notify-redis redis listeners)
stop action for :notify
field
stop action for `:notify` field
(subscribe redis id channels handler)
subscribes to a channel on the cache
subscribes to a channel on the cache
(subscribe:wrap handler {:keys [format] :as redis})
wrapper for the subscribe delivery function
wrapper for the subscribe delivery function
(unnotify redis id)
removes notifications for a given client
removes notifications for a given client
(unsubscribe redis id)
unsubscribes from a channel
unsubscribes from a channel
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close