Liking cljdoc? Tell your friends :D

com.moclojer.rq.queue


consumerclj

(consumer redis-client
          queue-name
          consumer-fn
          &
          {:keys [size loop-sleep direction]
           :or {direction "l" size -1 loop-sleep 0}})

Consume a message from the queue, blocking in loop until a message is available.

Consume a message from the queue, blocking in loop until a message is available.
sourceraw docstring

consumer-sizeclj

(consumer-size redis-client queue-name)

get size of the queue

get size of the queue
sourceraw docstring

pattern-nameclj

(pattern-name name)

Return the pattern name for the queue, which is the name prefixed with rq:

Return the pattern name for the queue, which is the name prefixed with `rq:`
sourceraw docstring

producerclj

(producer redis-client
          queue-name
          message
          &
          {:keys [direction at in retry retry-delay]
           :or {direction "l" retry 3 retry-delay 10}})

Push a job to the queue

Push a job to the queue
sourceraw docstring

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

× close