(start-job! this job)Starts a simple reoccuring job that triggers it.
A job should look like this: `{:channel "my-channel" :event {:hello 1} :sleep 2500 :max-attempts 50}
Both :sleep and :max-attempts are optional.
Starts a simple reoccuring `job` that triggers it.
A job should look like this:
`{:channel "my-channel"
:event {:hello 1}
:sleep 2500
:max-attempts 50}
Both `:sleep` and `:max-attempts` are optional.(try-op! this op-name args ctx)Wraps our clj-rq operations in order for our components to call sentry
if an error or exception occurs.
Wraps our `clj-rq` operations in order for our components to call sentry if an error or exception occurs.
(mock-op-name->op-fn op-name)Adapts given mq operation name to its relative function.
Adapts given mq `operation name` to its relative function.
(op-name->op-fn op-name)Adapts given mq operation name to its relative function.
Adapts given mq `operation name` to its relative function.
(wrap-worker worker components sentry)Wraps given worker with a secure try-catch. Also, adds components
to it's invocation.
Wraps given `worker` with a secure try-catch. Also, adds `components` to it's invocation.
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 |