Liking cljdoc? Tell your friends :D

wagoe.jobs.shell.adapters.codec

How the :db and :redis queues store a job: transit, so a handler gets back the keywords, UUIDs and instants it was given, as the in-memory queue does. They stored JSON until BOU-689, and jobs written then still decode.

How the :db and :redis queues store a job: transit, so a handler gets back
the keywords, UUIDs and instants it was given, as the in-memory queue does.
They stored JSON until BOU-689, and jobs written then still decode.
raw docstring

decode-jobclj

(decode-job s)

The job s holds. Transit JSON at the top level is an array, so a string opening with { is a JSON job from before BOU-689.

The job `s` holds. Transit JSON at the top level is an array, so a string
opening with `{` is a JSON job from before BOU-689.
sourceraw docstring

encode-jobclj

(encode-job job)

job as the string the queue stores.

`job` as the string the queue stores.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close