Liking cljdoc? Tell your friends :D

kehaar.jobs


add-worker!clj

(add-worker! routing-key)

Record a new worker.

Record a new worker.
sourceraw docstring

async->jobclj

(async->job chan)

Like wire-up/async->fire-and-forget-fn, returns a function that sends the appropriate message on the channel so it gets routed to the appropriate service. Except it also takes a function to call every time an event comes through. Returns the job's routing-key.

Like wire-up/async->fire-and-forget-fn, returns a function that
sends the appropriate message on the channel so it gets routed to
the appropriate service. Except it also takes a function to call
every time an event comes through. Returns the job's routing-key.
sourceraw docstring

async->subjobclj

(async->subjob chan)

Like async->job, but it's a 2-arity function that takes the routing-key as an arg.

Like async->job, but it's a 2-arity function that takes the
routing-key as an arg.
sourceraw docstring

async=>rabbitclj

(async=>rabbit chan rabbit-ch exchange routing-key)

A jobs-specific async=>rabbit for job handlers that publishes a ::complete message once the channel is closed.

A jobs-specific async=>rabbit for job handlers that publishes
a ::complete message once the channel is closed.
sourceraw docstring

cancel!clj

(cancel! routing-key)

Cancel a job by its routing key.

Cancel a job by its routing key.
sourceraw docstring

complete!clj

(complete! routing-key)

Record a completed worker.

Record a completed worker.
sourceraw docstring

jobsclj

source

kehaar-exchangeclj

source

new-routing-keyclj

(new-routing-key)
source

workers-chanclj

source

workers-chan-initialized?clj

source

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

× close