Keep tasks in a single JSON file, through dgknght.json-file.
A service's config is a :dgknght.json-file/config with a
:dgknght.tasks/provider of ::json-file. The file holds a JSON array of
tasks, one object per task with the keys of the :dgknght.tasks/task spec
(other keys aren't saved), encoded as described in dgknght.tasks.json.
Changes made through one service are serialized, but share one service per
file. Failures throw as described in dgknght.json-file.
Keep tasks in a single JSON file, through `dgknght.json-file`. A service's config is a `:dgknght.json-file/config` with a :dgknght.tasks/provider of ::json-file. The file holds a JSON array of tasks, one object per task with the keys of the `:dgknght.tasks/task` spec (other keys aren't saved), encoded as described in `dgknght.tasks.json`. Changes made through one service are serialized, but share one service per file. Failures throw as described in `dgknght.json-file`.
No vars found in this namespace.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |