IBuildNotifier that shouts on the host's hivemind.
The host is a runtime, not a dependency: its shout function is resolved when a notice is delivered, never required. Outside a host the notifier answers with an err Result and the watcher carries on.
A shout reaches the model two ways. It is piggybacked on the next tool
result of the reader it is addressed to, and sixth-sense perceives it as
:sense/build-failed (see hive-elm.notify.sense) and pushes it to an idle
session. Both address by :parent-id: without one the shout goes to
coordinator readers only.
IBuildNotifier that shouts on the host's hivemind. The host is a runtime, not a dependency: its shout function is resolved when a notice is delivered, never required. Outside a host the notifier answers with an err Result and the watcher carries on. A shout reaches the model two ways. It is piggybacked on the next tool result of the reader it is addressed to, and sixth-sense perceives it as `:sense/build-failed` (see hive-elm.notify.sense) and pushes it to an idle session. Both address by `:parent-id`: without one the shout goes to coordinator readers only.
(notifier opts)(notifier opts resolve-fn)opts: {:agent-id s :parent-id s? :project-id s?}.
`opts`: {:agent-id s :parent-id s? :project-id s?}.
(shout-data {:keys [parent-id project-id]}
{:notice/keys [root text problems title file line]})The data map of the shout for notice. Keys the host does not own are
carried to readers under the shout's :data; hive-elm.notify.sense
whitelists the build-* ones into a sense's detail.
The data map of the shout for `notice`. Keys the host does not own are carried to readers under the shout's :data; hive-elm.notify.sense whitelists the build-* ones into a sense's detail.
(soft-resolve sym)The var named by sym, or nil when its namespace cannot be loaded.
The var named by `sym`, or nil when its namespace cannot be loaded.
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 |