Liking cljdoc? Tell your friends :D

agentti.core


add-worker!clj

(add-worker! config)

Register and start a worker. See agentti.lifecycle/add-worker! for options.

Register and start a worker. See `agentti.lifecycle/add-worker!` for options.
sourceraw docstring

get-workerclj

(get-worker name)

Return the raw worker entry for name, or nil.

Return the raw worker entry for `name`, or nil.
sourceraw docstring

list-workersclj

(list-workers)

Return a vector of worker status maps for admin/dashboards.

Return a vector of worker status maps for admin/dashboards.
sourceraw docstring

registry-snapshotclj

(registry-snapshot)

Return a snapshot of the internal worker registry (name->entry). Intended for debugging/tests; dashboards should usually prefer list-workers.

Return a snapshot of the internal worker registry (name->entry).
Intended for debugging/tests; dashboards should usually prefer `list-workers`.
sourceraw docstring

stop-all-workers!clj

(stop-all-workers!)
(stop-all-workers! force?)

Stop all workers. With force? truthy, interrupts in-flight work. Returns a map of {worker-name -> true|nil}.

Stop all workers. With `force?` truthy, interrupts in-flight work.
Returns a map of {worker-name -> true|nil}.
sourceraw docstring

stop-worker!clj

(stop-worker! name)
(stop-worker! name force?)

Stop a worker by name. With force? truthy, interrupts in-flight work.

Stop a worker by name. With `force?` truthy, interrupts in-flight work.
sourceraw docstring

worker-exists?clj

(worker-exists? name)

True if a worker named name exists.

True if a worker named `name` exists.
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