Liking cljdoc? Tell your friends :D

clj-faktory

Faktory workers in Clojure!

Install

Clojars Project

Usage

(require '[clj-faktory.core :as faktory])

(faktory/defjob :say-hello [first-name]
  (println "Hello" first-name "!"))
  
(let [worker (faktory/worker "tcp://localhost:7419" {:concurrency 5})]
  (faktory/perform-async worker :say-hello ["Erik"])
  (faktory/start worker))

Can you improve this documentation?Edit on GitHub

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

× close