Liking cljdoc? Tell your friends :D

lib.redis.event


+actions+clj


+default+clj


+lu+clj


+rlu+clj


action:addclj

(action:add key {:keys [subscribe unsubscribe args wrap] :as m})

adds an action from registry

adds an action from registry
raw docstring

action:getclj

(action:get key)

gets action type

gets action type
raw docstring

action:listclj

(action:list)

lists action types

lists action types
raw docstring

action:removeclj

(action:remove key)

removes an action from registry

removes an action from registry
raw docstring

config:addclj

(config:add redis events)
(config:add redis events opts)

adds config notifications

adds config notifications
raw docstring

config:getclj

(config:get redis)
(config:get redis opts)

gets the config for notifications

gets the config for notifications
raw docstring

config:removeclj

(config:remove redis events)
(config:remove redis events opts)

removes config notifications

removes config notifications
raw docstring

config:setclj

(config:set redis events)
(config:set redis events opts)

sets the config for notifications

sets the config for notifications
raw docstring

events-parseclj

(events-parse s)

creates a set of enums from a string

creates a set of enums from a string
raw docstring

events-stringclj

(events-string events)

creates a string from a set of enums

creates a string from a set of enums
raw docstring

has-notifyclj

(has-notify redis id)

checks that a given notify listener is installed

checks that a given notify listener is installed
raw docstring

list-notifyclj

(list-notify redis)

lists all notify listeners for a client

lists all notify listeners for a client
raw docstring

listener-loopclj

(listener-loop conn f)

creates a listener loop

creates a listener loop
raw docstring

listener-stringclj

(listener-string {:keys [type connection] :as listener})

string description of a listener

string description of a listener
raw docstring

listener:addclj

(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
raw docstring

listener:allclj

(listener:all {:keys [runtime]})

lists all listeners

lists all listeners
raw docstring

listener:countclj

(listener:count {:keys [runtime]})

counts all listeners

counts all listeners
raw docstring

listener:createclj

(listener:create {:keys [namespace pool] :as redis} type id input handler)

creates a listener

creates a listener
raw docstring

listener:getclj

(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?
raw docstring

listener:listclj

(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]}
raw docstring

listener:removeclj

(listener:remove type {:keys [runtime] :as redis} id)

removes a listener from the client

removes a listener from the client
raw docstring

listener:teardownclj

(listener:teardown {:keys [type connection] :as listener})

tears down the listener

tears down the listener
raw docstring

listener?clj

(listener? obj)

checks that object is a listener

checks that object is a listener
raw docstring

notifyclj

(notify redis id pattern handler)

notifications for a given client

notifications for a given client
raw docstring

notify:argsclj

(notify:args namespace inputs)

produces the notify args

produces the notify args
raw docstring

notify:wrapclj

(notify:wrap handler {:keys [namespace] :as redis})

wrapper for the notify delivery function

wrapper for the notify delivery function
raw docstring

psubscribeclj

(psubscribe redis id pattern handler)

subscribes to a pattern on the cache

subscribes to a pattern on the cache
raw docstring

psubscribe:wrapclj

(psubscribe:wrap handler {:keys [format] :as redis})

wrapper for the psubscribe delivery function

wrapper for the psubscribe delivery function
raw docstring

punsubscribeclj

(punsubscribe redis id)

unsubscribes from the pattern

unsubscribes from the pattern
raw docstring

start:events-redisclj

(start:events-redis redis events)

creates action for :events

creates action for `:events`
raw docstring

start:notify-redisclj

(start:notify-redis redis listeners)

creates action for :notify

creates action for `:notify`
raw docstring

stop:notify-redisclj

(stop:notify-redis redis listeners)

stop action for :notify field

stop action for `:notify` field
raw docstring

subscribeclj

(subscribe redis id channels handler)

subscribes to a channel on the cache

subscribes to a channel on the cache
raw docstring

subscribe:wrapclj

(subscribe:wrap handler {:keys [format] :as redis})

wrapper for the subscribe delivery function

wrapper for the subscribe delivery function
raw docstring

unnotifyclj

(unnotify redis id)

removes notifications for a given client

removes notifications for a given client
raw docstring

unsubscribeclj

(unsubscribe redis id)

unsubscribes from a channel

unsubscribes from a channel
raw docstring

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

× close